@Namespace(value="nvinfer1") @NoOffset @Properties(inherit=nvinfer.class) public class ILoop extends INoCopy
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ILoop(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
IIteratorLayer |
addIterator(ITensor tensor) |
IIteratorLayer |
addIterator(ITensor tensor,
int axis,
boolean reverse)
\brief Return layer that subscripts tensor by loop iteration.
|
ILoopOutputLayer |
addLoopOutput(ITensor tensor,
int outputKind) |
ILoopOutputLayer |
addLoopOutput(ITensor tensor,
int outputKind,
int axis) |
ILoopOutputLayer |
addLoopOutput(ITensor tensor,
nvinfer.LoopOutput outputKind) |
ILoopOutputLayer |
addLoopOutput(ITensor tensor,
nvinfer.LoopOutput outputKind,
int axis)
\brief Make an output for this loop, based on the given tensor.
|
IRecurrenceLayer |
addRecurrence(ITensor initialValue)
\brief Create a recurrence layer for this loop with initialValue as its first input.
|
ITripLimitLayer |
addTripLimit(ITensor tensor,
int _limit) |
ITripLimitLayer |
addTripLimit(ITensor tensor,
nvinfer.TripLimit _limit)
\brief Add a trip-count limiter, based on the given tensor.
|
String |
getName()
\brief Return the name of the loop.
|
void |
setName(BytePointer name) |
void |
setName(String name)
\brief Set the name of the loop.
|
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 ILoop(Pointer p)
Pointer(Pointer)
.@NoException(value=true) public IRecurrenceLayer addRecurrence(@ByRef ITensor initialValue)
@NoException(value=true) public ITripLimitLayer addTripLimit(@ByRef ITensor tensor, nvinfer.TripLimit _limit)
@NoException(value=true) public ITripLimitLayer addTripLimit(@ByRef ITensor tensor, @Cast(value="nvinfer1::TripLimit") int _limit)
@NoException(value=true) public IIteratorLayer addIterator(@ByRef ITensor tensor, int axis, @Cast(value="bool") boolean reverse)
@NoException(value=true) public IIteratorLayer addIterator(@ByRef ITensor tensor)
@NoException(value=true) public ILoopOutputLayer addLoopOutput(@ByRef ITensor tensor, nvinfer.LoopOutput outputKind, int axis)
@NoException(value=true) public ILoopOutputLayer addLoopOutput(@ByRef ITensor tensor, nvinfer.LoopOutput outputKind)
@NoException(value=true) public ILoopOutputLayer addLoopOutput(@ByRef ITensor tensor, @Cast(value="nvinfer1::LoopOutput") int outputKind, int axis)
@NoException(value=true) public ILoopOutputLayer addLoopOutput(@ByRef ITensor tensor, @Cast(value="nvinfer1::LoopOutput") int outputKind)
@NoException(value=true) public void setName(String name)
getName()
@NoException(value=true) public void setName(@Cast(value="const char*") BytePointer name)
@NoException(value=true) public String getName()
setName()
Copyright © 2024. All rights reserved.