@Namespace(value="tensorflow") public static class tensorflow.TensorShapeUtils extends Pointer
TensorShape. Includes a few common
predicates on a tensor shape.Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
TensorShapeUtils()
Default native constructor.
|
TensorShapeUtils(long size)
Native array allocator.
|
TensorShapeUtils(Pointer p)
Pointer cast constructor.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic TensorShapeUtils()
public TensorShapeUtils(long size)
Pointer.position(long).public TensorShapeUtils(Pointer p)
Pointer.Pointer(Pointer).public tensorflow.TensorShapeUtils position(long position)
@Cast(value="bool") public static boolean IsScalar(@Const @ByRef tensorflow.TensorShape shape)
@Cast(value="bool") public static boolean IsVector(@Const @ByRef tensorflow.TensorShape shape)
@Cast(value="bool") public static boolean IsVectorOrHigher(@Const @ByRef tensorflow.TensorShape shape)
@Cast(value="bool") public static boolean IsMatrix(@Const @ByRef tensorflow.TensorShape shape)
@Cast(value="bool") public static boolean IsSquareMatrix(@Const @ByRef tensorflow.TensorShape shape)
@Cast(value="bool") public static boolean IsMatrixOrHigher(@Const @ByRef tensorflow.TensorShape shape)
@ByVal public static tensorflow.Status MakeShape(@Const IntPointer dims, @Cast(value="tensorflow::int64") long n, tensorflow.TensorShape out)
TensorShape whose dimensions are
dims[0], dims[1], ..., dims[n-1].@ByVal public static tensorflow.Status MakeShape(@Const IntBuffer dims, @Cast(value="tensorflow::int64") long n, tensorflow.TensorShape out)
@ByVal public static tensorflow.Status MakeShape(@Const int[] dims, @Cast(value="tensorflow::int64") long n, tensorflow.TensorShape out)
@ByVal public static tensorflow.Status MakeShape(@Cast(value="const tensorflow::int64*") LongPointer dims, @Cast(value="tensorflow::int64") long n, tensorflow.TensorShape out)
@ByVal public static tensorflow.Status MakeShape(@Cast(value="const tensorflow::int64*") LongBuffer dims, @Cast(value="tensorflow::int64") long n, tensorflow.TensorShape out)
@ByVal public static tensorflow.Status MakeShape(@Cast(value="const tensorflow::int64*") long[] dims, @Cast(value="tensorflow::int64") long n, tensorflow.TensorShape out)
@ByVal public static tensorflow.Status MakeShape(@tensorflow.ArraySlice IntPointer shape, tensorflow.TensorShape out)
@ByVal public static tensorflow.Status MakeShape(@tensorflow.ArraySlice IntBuffer shape, tensorflow.TensorShape out)
@ByVal public static tensorflow.Status MakeShape(@tensorflow.ArraySlice int[] shape, tensorflow.TensorShape out)
@ByVal public static tensorflow.Status MakeShape(@Cast(value="tensorflow::int64*") @tensorflow.ArraySlice LongPointer shape, tensorflow.TensorShape out)
@ByVal public static tensorflow.Status MakeShape(@Cast(value="tensorflow::int64*") @tensorflow.ArraySlice LongBuffer shape, tensorflow.TensorShape out)
@ByVal public static tensorflow.Status MakeShape(@Cast(value="tensorflow::int64*") @tensorflow.ArraySlice long[] shape, tensorflow.TensorShape out)
@ByVal public static tensorflow.Status MakeShape(@Const IntPointer dims, @Cast(value="tensorflow::int64") long n, tensorflow.PartialTensorShape out)
@ByVal public static tensorflow.Status MakeShape(@Const IntBuffer dims, @Cast(value="tensorflow::int64") long n, tensorflow.PartialTensorShape out)
@ByVal public static tensorflow.Status MakeShape(@Const int[] dims, @Cast(value="tensorflow::int64") long n, tensorflow.PartialTensorShape out)
@ByVal public static tensorflow.Status MakeShape(@Cast(value="const tensorflow::int64*") LongPointer dims, @Cast(value="tensorflow::int64") long n, tensorflow.PartialTensorShape out)
@ByVal public static tensorflow.Status MakeShape(@Cast(value="const tensorflow::int64*") LongBuffer dims, @Cast(value="tensorflow::int64") long n, tensorflow.PartialTensorShape out)
@ByVal public static tensorflow.Status MakeShape(@Cast(value="const tensorflow::int64*") long[] dims, @Cast(value="tensorflow::int64") long n, tensorflow.PartialTensorShape out)
@ByVal public static tensorflow.Status MakeShape(@tensorflow.ArraySlice IntPointer shape, tensorflow.PartialTensorShape out)
@ByVal public static tensorflow.Status MakeShape(@tensorflow.ArraySlice IntBuffer shape, tensorflow.PartialTensorShape out)
@ByVal public static tensorflow.Status MakeShape(@tensorflow.ArraySlice int[] shape, tensorflow.PartialTensorShape out)
@ByVal public static tensorflow.Status MakeShape(@Cast(value="tensorflow::int64*") @tensorflow.ArraySlice LongPointer shape, tensorflow.PartialTensorShape out)
@ByVal public static tensorflow.Status MakeShape(@Cast(value="tensorflow::int64*") @tensorflow.ArraySlice LongBuffer shape, tensorflow.PartialTensorShape out)
@ByVal public static tensorflow.Status MakeShape(@Cast(value="tensorflow::int64*") @tensorflow.ArraySlice long[] shape, tensorflow.PartialTensorShape out)
@StdString public static BytePointer ShapeListString(@Cast(value="const tensorflow::gtl::ArraySlice<tensorflow::TensorShape>*") @ByRef tensorflow.TensorShapeVector shapes)
@Cast(value="bool") public static boolean StartsWith(@Const @ByRef tensorflow.TensorShape shape, @Const @ByRef tensorflow.TensorShape prefix)
shape starts with prefix.@Cast(value="bool") public static boolean EndsWith(@Const @ByRef tensorflow.TensorShape shape, @Const @ByRef tensorflow.TensorShape suffix)
shape ends with suffix.@ByVal public static tensorflow.Status NumElements(@Cast(value="tensorflow::int64*") @tensorflow.ArraySlice LongPointer shape, @Cast(value="tensorflow::int64*") LongPointer num_elements)
TensorShape can hold.@ByVal public static tensorflow.Status NumElements(@Cast(value="tensorflow::int64*") @tensorflow.ArraySlice LongBuffer shape, @Cast(value="tensorflow::int64*") LongBuffer num_elements)
@ByVal public static tensorflow.Status NumElements(@Cast(value="tensorflow::int64*") @tensorflow.ArraySlice long[] shape, @Cast(value="tensorflow::int64*") long... num_elements)
Copyright © 2019. All rights reserved.