Class TextureTensorData
Inheritance
TextureTensorData
Syntax
public class TextureTensorData : UniqueResourceId, ITensorData, IDisposable, ITensorDataStatistics, IUniqueResource
Constructors
TextureTensorData(TensorShape, String, Boolean)
Declaration
public TextureTensorData(TensorShape shape, string buffername, bool clearOnInit = true)
Parameters
Fields
MaxTextureSize
Declaration
public static int MaxTextureSize
Field Value
name
Declaration
Field Value
Properties
bufferAsTexture
Declaration
public RenderTexture bufferAsTexture { get; }
Property Value
dataType
Returns the type of the elements this tensorData can contain.
Declaration
public virtual DataType dataType { get; }
Property Value
Implements
inUse
Declaration
public virtual bool inUse { get; }
Property Value
isGPUMem
Declaration
public virtual bool isGPUMem { get; }
Property Value
maxCapacity
Declaration
public virtual int maxCapacity { get; }
Property Value
Implements
tensorBatchTilled
Declaration
public bool tensorBatchTilled { get; }
Property Value
tensorChannelTilled
Declaration
public bool tensorChannelTilled { get; }
Property Value
Methods
Dispose()
Declaration
public virtual void Dispose()
Implements
Download(TensorShape)
Declaration
public virtual float[] Download(TensorShape shape)
Parameters
Returns
Implements
Finalize()
Declaration
protected void Finalize()
Reserve(Int32)
Declaration
public virtual void Reserve(int count)
Parameters
Type |
Name |
Description |
Int32 |
count |
|
Implements
ScheduleAsyncDownload(Int32)
Declaration
public virtual bool ScheduleAsyncDownload(int count)
Parameters
Type |
Name |
Description |
Int32 |
count |
|
Returns
Implements
SharedAccess(out Int32)
Declaration
public virtual BarracudaArray SharedAccess(out int offset)
Parameters
Type |
Name |
Description |
Int32 |
offset |
|
Returns
Implements
ToString()
Declaration
public override string ToString()
Returns
Overrides
Upload(Single[], TensorShape, Int32)
Declaration
public virtual void Upload(float[] data, TensorShape shape, int managedBufferStartIndex = 0)
Parameters
Implements
Extension Methods