Class ArrayTensorData
Inheritance
ArrayTensorData
Syntax
public class ArrayTensorData : ITensorData, IDisposable
Constructors
ArrayTensorData(TensorShape)
Declaration
public ArrayTensorData(TensorShape shape)
Parameters
ArrayTensorData(Int32)
Declaration
public ArrayTensorData(int count)
Parameters
Type |
Name |
Description |
Int32 |
count |
|
Fields
m_Array
Declaration
protected float[] m_Array
Field Value
Properties
array
Declaration
public float[] array { get; }
Property Value
Methods
Dispose()
Declaration
public virtual void Dispose()
Download(Int32)
Declaration
public virtual float[] Download(int count)
Parameters
Type |
Name |
Description |
Int32 |
count |
|
Returns
Implements
Finalize()
Declaration
protected void Finalize()
GetMaxCount()
Declaration
public virtual int GetMaxCount()
Returns
Implements
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 float[] SharedAccess(out int offset)
Parameters
Type |
Name |
Description |
Int32 |
offset |
|
Returns
Implements
ToString()
Declaration
public override string ToString()
Returns
Overrides
Upload(Single[], Int32, Int32)
Declaration
public virtual void Upload(float[] data, int offset = 0, int count = -1)
Parameters
Implements