public Tensor(IntPtr handle) { _handle = handle; tensor = Marshal.PtrToStructure <TF_Tensor>(handle); _dtype = tensor.dtype; }
public static extern unsafe void TF_SetAttrTensor(TF_OperationDescription desc, string attr_name, TF_Tensor value, TF_Status status);