@Namespace(value="ngraph::op") @NoOffset @Properties(inherit=ngraph.class) public class Parameter extends Op
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounterplacement_invalid| Constructor and Description |
|---|
Parameter()
\brief Constructions a tensor-typed parameter node.
|
Parameter(long size)
Native array allocator.
|
Parameter(Pointer p)
Pointer cast constructor.
|
Parameter(Type element_type,
PartialShape pshape) |
Parameter(Type element_type,
PartialShape pshape,
boolean cacheable)
\brief Constructions a tensor-typed parameter node.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
copy_with_new_args(NodeVector new_args) |
BytePointer |
description()
\brief Get the string name for the type of the node, such as
Add or Multiply. |
boolean |
get_cacheable() |
Type |
get_element_type()
Checks that there is exactly one output and returns its element type
|
PartialShape |
get_partial_shape() |
Parameter |
getPointer(long i) |
boolean |
is_relevant_to_shapes() |
Parameter |
position(long position) |
void |
set_element_type(Type element_type) |
void |
set_is_relevant_to_shapes(boolean is_relevant) |
void |
set_partial_shape(PartialShape partial_shape) |
static BytePointer |
type_name() |
void |
validate_and_infer_types() |
get_op_annotations, is_op, set_op_annotationsadd_control_dependency, add_node_control_dependencies, add_node_control_dependents, add_provenance_group_member, add_provenance_group_members_above, add_provenance_tag, add_provenance_tag, clear_control_dependencies, clear_control_dependents, copy_with_new_inputs, copy_with_new_inputs, delayed_validate_and_infer_types, get_argument, get_arguments, get_control_dependencies, get_control_dependents, get_default_value, get_friendly_name, get_input_element_type, get_input_partial_shape, get_input_shape, get_input_size, get_input_tensor_name, get_instance_id, get_name, get_output_as_single_output_node, get_output_as_single_output_node, get_output_element_type, get_output_inputs, get_output_partial_shape, get_output_shape, get_output_size, get_output_tensor_name, get_output_tensor_ptr, get_output_tensor_ptr, get_output_tensor, get_output_tensor, get_placement_index, get_placement, get_shape, get_users, get_users, get_version, has_state, input_value, input_values, input, inputs, is_commutative, is_constant, is_dynamic, is_null, is_output, is_parameter, is_same_op_type, lessThan, merge_provenance_tags_from, output, outputs, placement_invalid, remove_control_dependency, remove_provenance_tag, remove_provenance_tag, revalidate_and_infer_types, set_argument, set_arguments, set_arguments, set_friendly_name, set_friendly_name, set_input_is_relevant_to_shape, set_input_is_relevant_to_shape, set_input_is_relevant_to_value, set_input_is_relevant_to_value, set_output_size, set_output_type, set_placement_index, set_placement, write_long_description, write_short_descriptionaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic Parameter(Pointer p)
Pointer(Pointer).public Parameter(long size)
Pointer.position(long).public Parameter()
public Parameter(@Const @ByRef Type element_type, @Const @ByRef PartialShape pshape, @Cast(value="const bool") boolean cacheable)
element_type - The element type of the parameter.pshape - The partial shape of the parameter.cacheable - True if the parameter is not expected to be frequently updated.public Parameter getPointer(long i)
getPointer in class Pointer@MemberGetter @StdString public static BytePointer type_name()
@StdString public BytePointer description()
NodeAdd or Multiply.
The class name, must not contain spaces as it is used for codegen.description in class Nodepublic void validate_and_infer_types()
@SharedPtr @ByVal public Node copy_with_new_args(@Const @ByRef NodeVector new_args)
public void set_is_relevant_to_shapes(@Cast(value="bool") boolean is_relevant)
@ByRef public PartialShape get_partial_shape()
public void set_partial_shape(@Const @ByRef PartialShape partial_shape)
@Const @ByRef public Type get_element_type()
Nodeget_element_type in class NodeCopyright © 2022. All rights reserved.