@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.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| Constructor and Description |
|---|
ClipByValue(Pointer p)
Pointer cast constructor.
|
ClipByValue(tensorflow.Scope scope,
tensorflow.Input t,
tensorflow.Input clip_value_min,
tensorflow.Input clip_value_max) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
tensorflow.Node |
node() |
tensorflow.Operation |
operation() |
tensorflow.ClipByValue |
operation(tensorflow.Operation operation) |
tensorflow.Output |
output() |
tensorflow.ClipByValue |
output(tensorflow.Output output) |
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, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic ClipByValue(Pointer p)
Pointer.Pointer(Pointer).public ClipByValue(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input t, @ByVal tensorflow.Input clip_value_min, @ByVal tensorflow.Input clip_value_max)
@ByVal @Name(value="operator tensorflow::Output") public tensorflow.Output asOutput()
@ByVal @Name(value="operator tensorflow::Input") public tensorflow.Input asInput()
public tensorflow.Node node()
@ByRef public tensorflow.Operation operation()
public tensorflow.ClipByValue operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output output()
public tensorflow.ClipByValue output(tensorflow.Output output)
Copyright © 2019. All rights reserved.