org.bytedeco.tensorflow.Sinh Maven / Gradle / Ivy
The newest version!
// Targeted by JavaCPP version 1.5.8: DO NOT EDIT THIS FILE
package org.bytedeco.tensorflow;
import org.bytedeco.tensorflow.Allocator;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.tensorflow.global.tensorflow.*;
/** Computes hyperbolic sine of x element-wise.
*
* Given an input tensor, this function computes hyperbolic sine of every
* element in the tensor. Input range is {@code [-inf,inf]} and output range
* is {@code [-inf,inf]}.
*
* {@code python
* x = tf.constant([-float("inf"), -9, -0.5, 1, 1.2, 2, 10, float("inf")])
* tf.math.sinh(x) ==> [-inf -4.0515420e+03 -5.2109528e-01 1.1752012e+00 1.5094614e+00 3.6268604e+00 1.1013232e+04 inf]
* }
*
* Arguments:
* * scope: A Scope object
*
* Returns:
* * {@code Output}: The y tensor. */
@Namespace("tensorflow::ops") @NoOffset @Properties(inherit = org.bytedeco.tensorflow.presets.tensorflow.class)
public class Sinh extends Pointer {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public Sinh(Pointer p) { super(p); }
public Sinh(@Const @ByRef Scope scope, @ByVal Input x) { super((Pointer)null); allocate(scope, x); }
private native void allocate(@Const @ByRef Scope scope, @ByVal Input x);
public native @ByVal @Name("operator tensorflow::Output") Output asOutput();
public native @ByVal @Name("operator tensorflow::Input") Input asInput();
public native Node node();
public native @ByRef Operation operation(); public native Sinh operation(Operation setter);
public native @ByRef Output y(); public native Sinh y(Output setter);
}