@NoOffset public static class OpSchema.Attribute extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Attribute(BytePointer name_,
BytePointer description_,
AttributeProto default_value_) |
Attribute(BytePointer name_,
BytePointer description_,
int type_,
boolean required_) |
Attribute(Pointer p)
Pointer cast constructor.
|
Attribute(String name_,
String description_,
AttributeProto default_value_) |
Attribute(String name_,
String description_,
int type_,
boolean required_) |
Modifier and Type | Method and Description |
---|---|
AttributeProto |
default_value() |
OpSchema.Attribute |
default_value(AttributeProto setter) |
BytePointer |
description() |
OpSchema.Attribute |
description(BytePointer setter) |
BytePointer |
name() |
OpSchema.Attribute |
name(BytePointer setter) |
boolean |
required() |
OpSchema.Attribute |
required(boolean setter) |
int |
type() |
OpSchema.Attribute |
type(int 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 Attribute(Pointer p)
Pointer(Pointer)
.public Attribute(@StdString BytePointer name_, @StdString BytePointer description_, @Cast(value="onnx::AttributeProto::AttributeType") int type_, @Cast(value="bool") boolean required_)
public Attribute(@StdString String name_, @StdString String description_, @Cast(value="onnx::AttributeProto::AttributeType") int type_, @Cast(value="bool") boolean required_)
public Attribute(@StdString BytePointer name_, @StdString BytePointer description_, @ByVal AttributeProto default_value_)
public Attribute(@StdString String name_, @StdString String description_, @ByVal AttributeProto default_value_)
@StdString public BytePointer name()
public OpSchema.Attribute name(BytePointer setter)
@StdString public BytePointer description()
public OpSchema.Attribute description(BytePointer setter)
public OpSchema.Attribute type(int setter)
public OpSchema.Attribute required(boolean setter)
@ByRef public AttributeProto default_value()
public OpSchema.Attribute default_value(AttributeProto setter)
Copyright © 2024. All rights reserved.