@NoOffset public static class Input.Initializer extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Initializer(Pointer p)
Pointer cast constructor.
|
Initializer(Tensor t)
Construct from a scalar value of an arithmetic type or a type that can
be converted to a string (eg.
|
Modifier and Type | Method and Description |
---|---|
TensorProto |
AsTensorProto()
Construct a multi-dimensional tensor from a nested initializer
list.
|
Status |
status() |
Input.Initializer |
status(Status setter) |
Tensor |
tensor() |
Input.Initializer |
tensor(Tensor setter) |
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 Initializer(Pointer p)
Pointer(Pointer)
.@ByVal public TensorProto AsTensorProto()
public Input.Initializer status(Status setter)
public Input.Initializer tensor(Tensor setter)
Copyright © 2022. All rights reserved.