@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class TensorSlice extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TensorSlice() |
TensorSlice(int dim) |
TensorSlice(Pointer p)
Pointer cast constructor.
|
TensorSlice(TensorSliceProto proto) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public TensorSlice(Pointer p)
Pointer(Pointer)
.public TensorSlice()
public TensorSlice(int dim)
public TensorSlice(@Const @ByRef TensorSliceProto proto)
@ByVal public static Status Parse(@StdString BytePointer str, TensorSlice output)
@ByVal public static Status Parse(@StdString String str, TensorSlice output)
@ByVal public static TensorSlice ParseOrDie(@StdString BytePointer str)
@ByVal public static TensorSlice ParseOrDie(@StdString String str)
public void Clear()
public int dims()
public void SetFullSlice(int dim)
public void Extend(int dim)
public void AsProto(TensorSliceProto proto)
@StdString public BytePointer DebugString()
@Cast(value="bool") public boolean Intersect(@Const @ByRef TensorSlice other, TensorSlice result)
@Cast(value="bool") public boolean Overlaps(@Const @ByRef TensorSlice other)
@Cast(value="bool") @Name(value="operator ==") public boolean equals(@Const @ByRef TensorSlice other)
@Cast(value="bool") @Name(value="operator !=") public boolean notEquals(@Const @ByRef TensorSlice other)
@ByVal public Status SliceTensorShape(@Const @ByRef TensorShape shape, TensorShape result_shape)
public void ComputeRelative(@Const @ByRef TensorSlice sub, TensorSlice relative)
public void UpdateToCover(@Const @ByRef TensorSlice other)
@Cast(value="bool") public static boolean HasExtentLength(@Cast(value="const tensorflow::TensorSliceProto::Extent*") @ByRef TensorSliceProto_Extent extent)
Copyright © 2022. All rights reserved.