@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class ClipByValue extends Pointer
t
, this operation returns a tensor of the same type and
shape as t
with its values clipped to clip_value_min
and clip_value_max
.
Any values less than clip_value_min
are set to clip_value_min
. Any values
greater than clip_value_max
are set to clip_value_max
.
Arguments:
* scope: A Scope object
* t: A Tensor
.
* clip_value_min: A 0-D (scalar) Tensor
, or a Tensor
with the same shape
as t
. The minimum value to clip by.
* clip_value_max: A 0-D (scalar) Tensor
, or a Tensor
with the same shape
as t
. The maximum value to clip by.
Returns:
* Output
: A clipped Tensor
with the same shape as input 't'.Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ClipByValue(Pointer p)
Pointer cast constructor.
|
ClipByValue(Scope scope,
Input t,
Input clip_value_min,
Input clip_value_max) |
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
Node |
node() |
Operation |
operation() |
ClipByValue |
operation(Operation setter) |
Output |
output() |
ClipByValue |
output(Output 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 ClipByValue(Pointer p)
Pointer(Pointer)
.public Node node()
public ClipByValue operation(Operation setter)
public ClipByValue output(Output setter)
Copyright © 2022. All rights reserved.