UNPKG

518 BTypeScriptView Raw
1/// <amd-module name="@tensorflow/tfjs-core/dist/ops/acos" />
2import { Tensor } from '../tensor';
3import { TensorLike } from '../types';
4/**
5 * Computes acos of the input `tf.Tensor` element-wise: `acos(x)`
6 *
7 * ```js
8 * const x = tf.tensor1d([0, 1, -1, .7]);
9 *
10 * x.acos().print(); // or tf.acos(x)
11 * ```
12 * @param x The input tensor.
13 * @doc {heading: 'Operations', subheading: 'Basic math'}
14 */
15declare function acos_<T extends Tensor>(x: T | TensorLike): T;
16export declare const acos: typeof acos_;
17export {};