@Name(value="nd4j::ops::embedding_lookup<double>") public static class Nd4jCpu.double_embedding_lookup extends Nd4jCpu.DoubleDeclarableCustomOp
Constructor and Description |
---|
double_embedding_lookup() |
double_embedding_lookup(long size)
Native array allocator.
|
double_embedding_lookup(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Nd4jCpu.ShapeList |
calculateOutputShape(Nd4jCpu.ShapeList inputShape,
Nd4jCpu.DoubleContext block)
This method should be available in each implemented Op, and should return Op output shape(s), for a given input shape(s)
|
Nd4jCpu.double_embedding_lookup |
position(long position) |
execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, getOpDescriptor, getOpHash, getOpName, validateArguments, validateInput2D, validateInput3D, validateInput4D, validateInputDimensions, validateInputDimensionsMatch, validateInputLengthMatch, validateNonEmptyInput, validateOrdersMatch
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, zero
public double_embedding_lookup(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer)
.public double_embedding_lookup(long size)
Pointer.position(long)
.public double_embedding_lookup()
public Nd4jCpu.double_embedding_lookup position(long position)
position
in class org.bytedeco.javacpp.Pointer
public Nd4jCpu.ShapeList calculateOutputShape(Nd4jCpu.ShapeList inputShape, @ByRef Nd4jCpu.DoubleContext block)
Nd4jCpu.DoubleDeclarableOp
calculateOutputShape
in class Nd4jCpu.DoubleDeclarableCustomOp