@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class ShapeRefiner extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ShapeRefiner(int graph_def_version,
OpRegistryInterface ops) |
ShapeRefiner(Pointer p)
Pointer cast constructor.
|
ShapeRefiner(VersionDef versions,
OpRegistryInterface ops) |
Modifier and Type | Method and Description |
---|---|
Status |
AddNode(Node node) |
boolean |
function_shape_inference_supported() |
InferenceContext |
GetContext(Node node) |
int |
graph_def_version() |
void |
set_disable_constant_propagation(boolean disable) |
void |
set_function_library_for_shape_inference(FunctionLibraryDefinition lib) |
void |
set_graph_def_version(int version) |
void |
set_keep_nested_shape_inferences() |
void |
set_require_shape_inference_fns(boolean require_shape_inference_fns) |
Status |
SetShape(Node node,
int output_port,
ShapeHandle shape) |
Status |
UpdateNode(Node node,
boolean relax,
boolean... refined) |
Status |
UpdateNode(Node node,
boolean relax,
BoolPointer refined) |
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 ShapeRefiner(Pointer p)
Pointer(Pointer)
.public ShapeRefiner(int graph_def_version, @Const OpRegistryInterface ops)
public ShapeRefiner(@Const @ByRef VersionDef versions, @Const OpRegistryInterface ops)
@ByVal public Status UpdateNode(@Const Node node, @Cast(value="bool") boolean relax, @Cast(value="bool*") BoolPointer refined)
@ByVal public Status UpdateNode(@Const Node node, @Cast(value="bool") boolean relax, @Cast(value="bool*") boolean... refined)
public InferenceContext GetContext(@Const Node node)
public int graph_def_version()
public void set_graph_def_version(int version)
public void set_require_shape_inference_fns(@Cast(value="bool") boolean require_shape_inference_fns)
public void set_disable_constant_propagation(@Cast(value="bool") boolean disable)
public void set_function_library_for_shape_inference(@Const FunctionLibraryDefinition lib)
@Cast(value="bool") public boolean function_shape_inference_supported()
public void set_keep_nested_shape_inferences()
Copyright © 2022. All rights reserved.