Class UnsafeArrayTensorData
Inheritance
UnsafeArrayTensorData
Syntax
public class UnsafeArrayTensorData : SharedArrayTensorData, ITensorData, IDisposable
Constructors
UnsafeArrayTensorData(ArrayTensorData)
Declaration
public UnsafeArrayTensorData(ArrayTensorData sharedArray)
Parameters
UnsafeArrayTensorData(SharedArrayTensorData)
Declaration
public UnsafeArrayTensorData(SharedArrayTensorData sharedArray)
Parameters
UnsafeArrayTensorData(TensorShape)
Declaration
public UnsafeArrayTensorData(TensorShape shape)
Parameters
UnsafeArrayTensorData(Int32)
Declaration
public UnsafeArrayTensorData(int count)
Parameters
Type |
Name |
Description |
Int32 |
count |
|
Fields
m_Readonly
Declaration
protected bool m_Readonly
Field Value
Methods
Dispose()
Declaration
public override void Dispose()
Overrides
Download(Int32)
Declaration
public override float[] Download(int count)
Parameters
Type |
Name |
Description |
Int32 |
count |
|
Returns
Overrides
Finalize()
Declaration
protected void Finalize()
Reserve(Int32)
Declaration
public override void Reserve(int count)
Parameters
Type |
Name |
Description |
Int32 |
count |
|
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Upload(Single[], Int32, Int32)
Declaration
public override void Upload(float[] data, int offset = 0, int count = -1)
Parameters
Overrides