代码拉取完成,页面将自动刷新
Compared with the previous version, the added, deleted and supported platforms change information of mindspore.ops
operators in MindSpore, is shown in the following table.
API | Status | Description | Support Platform | Class |
---|---|---|---|---|
mindspore.ops.PReLU | Changed | Parametric Rectified Linear Unit activation function. | r1.10: Ascend/GPU => r2.0.0-alpha: Ascend/GPU/CPU | Activation Function |
mindspore.ops.BatchToSpaceND | Changed | Divides batch dimension with blocks and interleaves these blocks back into spatial dimensions. | r1.10: Ascend/CPU => r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.Eig | New | Computes the eigenvalues and eigenvectors of a square matrix(batch square matrices). | r2.0.0-alpha: Ascend/CPU | Array Operation |
mindspore.ops.Expand | New | Returns a new view of the self tensor with singleton dimensions expanded to a larger size. | r2.0.0-alpha: Ascend/CPU | Array Operation |
mindspore.ops.FillDiagonal | New | Fill the main diagonal of a tensor that has at least 2-dimensions. | r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.HammingWindow | New | Computes the hamming window function with input window length. | r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.Histogram | New | Computes the histogram of a tensor. | r2.0.0-alpha: Ascend/CPU | Array Operation |
mindspore.ops.InplaceAdd | Changed | Adds v into specified rows of x. | r1.10: Ascend/CPU => r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.InplaceSub | Changed | Subtracts v into specified rows of x. | r1.10: Ascend/CPU => r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.Lcm | New | Computes least common multiplier of input tensors element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.LeftShift | New | Shift the value of each position of the tensor to the left several bits. | r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.ListDiff | New | Computes the difference between two lists of numbers. | r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.LogSpace | New | Returns a one-dimensional tensor of size steps whose values are evenly spaced from (base^{start}) to (base^{end}) , inclusive, on a logarithmic scale with base. | r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.Lstsq | New | Computes the solutions of the least squares and minimum norm problems of full-rank matrix x of size ((m \times n)) and matrix a of size ((m \times k)). | r2.0.0-alpha: CPU | Array Operation |
mindspore.ops.MatrixDiagPartV3 | New | Returns the diagonal part of a tensor. | r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.MatrixDiagV3 | New | Returns a batched diagonal tensor with given batched diagonal values. | r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.MatrixExp | New | Computes the matrix exponential of a square matrix. | r2.0.0-alpha: Ascend/CPU | Array Operation |
mindspore.ops.MatrixPower | New | Computes the n-th power of a batch of square matrices. | r2.0.0-alpha: Ascend/CPU | Array Operation |
mindspore.ops.ParallelConcat | Changed | r1.10: Concats tensor in the first dimension. => r2.0.0-alpha: Concats input tensors along the first dimension. | r1.10: Ascend => r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.Range | Changed | Creates a sequence of numbers that begins at start and extends by increments of delta up to but not including limit. | r1.10: GPU/CPU => r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.ResizeNearestNeighborV2 | New | Resizes the input tensor to specific size by using the nearest neighbor algorithm. | r2.0.0-alpha: Ascend/CPU | Array Operation |
mindspore.ops.RightShift | New | Shift the value of each position of Tensor input_x to the right by corresponding bits in Tensor input_y. | r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.Roll | New | Rolls the elements of a tensor along an axis. | r2.0.0-alpha: Ascend/GPU | Array Operation |
mindspore.ops.STFT | New | STFTs can be used as a way of quantifying the change of a nonstationary signal’s frequency and phase content over time. | r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.ScatterAddWithAxis | New | The output of the operation is produced by creating a copy of the input input_x, and then add updating its value to values specified by updates at specific index positions specified by indices. | r2.0.0-alpha: Ascend/CPU | Array Operation |
mindspore.ops.ScatterNdDiv | New | Applies sparse division to individual values or slices in a tensor. | r2.0.0-alpha: GPU/CPU | Array Operation |
mindspore.ops.ScatterNdMax | New | Applies sparse maximum to individual values or slices in a tensor. | r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.ScatterNdMul | New | Applies sparse multiplication to individual values or slices in a tensor. | r2.0.0-alpha: GPU/CPU | Array Operation |
mindspore.ops.SpaceToBatchND | Changed | Divides spatial dimensions into blocks and combines the block size with the original batch. | r1.10: Ascend/CPU => r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.Trace | New | Returns a new tensor that is the sum of the input trace. | r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.NeighborExchange | Deleted | NeighborExchange is a collective operation. | Ascend | Communication Operator |
mindspore.ops.CheckBprop | Deleted | Checks whether the data type and the shape of corresponding elements from tuples x and y are the same. | Ascend/GPU/CPU | Comparison Operator |
mindspore.ops.IsInstance | Deleted | Checks whether an object is an instance of a target type. | Ascend/GPU/CPU | Comparison Operator |
mindspore.ops.IsSubClass | Deleted | Checks whether this type is a sub-class of another type. | Ascend/GPU/CPU | Comparison Operator |
mindspore.ops.SameTypeShape | Deleted | Checks whether the data type and shape of two tensors are the same. | Ascend/GPU/CPU | Comparison Operator |
mindspore.ops.Custom | Changed | Custom primitive is used for user defined operators and is to enhance the expressive ability of built-in primitives. | r1.10: => r2.0.0-alpha: Ascend/GPU/CPU | Customizing Operator |
mindspore.ops.Assert | New | Asserts whether the given condition is True. | r2.0.0-alpha: GPU/CPU | Debugging Operator |
mindspore.ops.kernel | New | The decorator of the Hybrid DSL function for the Custom Op. | r2.0.0-alpha: | Decorators |
mindspore.ops.ms_kernel | Deleted | The decorator of the Hybrid DSL function for the Custom Op. | Decorators | |
mindspore.ops.Cdist | Changed | Computes batched the p-norm distance between each pair of the two collections of row vectors. | r1.10: Ascend/CPU => r2.0.0-alpha: Ascend/GPU/CPU | Distance Function |
mindspore.ops.EditDistance | Changed | Computes the Levenshtein Edit Distance. | r1.10: Ascend => r2.0.0-alpha: Ascend/CPU | Distance Function |
mindspore.ops.AccumulateNV2 | Changed | Computes accumulation of all input tensors element-wise. | r1.10: Ascend => r2.0.0-alpha: Ascend/GPU | Element-wise Operator |
mindspore.ops.Addcmul | Changed | Performs the element-wise product of tensor x1 and tensor x2, multiply the result by the scalar value and add it to input_data. | r1.10: Ascend/GPU => r2.0.0-alpha: Ascend/GPU/CPU | Element-wise Operator |
mindspore.ops.NextAfter | New | Returns the next representable floating-point value after x1 towards x2 element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | Element-wise Operator |
mindspore.ops.AdjustHue | New | Adjust hue of RGB images. | r2.0.0-alpha: Ascend/GPU/CPU | Image Processing |
mindspore.ops.CombinedNonMaxSuppression | New | Greedily selects a subset of bounding boxes in descending order of score. | r2.0.0-alpha: Ascend/GPU/CPU | Image Processing |
mindspore.ops.ExtractGlimpse | New | Extracts glimpse from the input image tensor and return a window. | r2.0.0-alpha: Ascend/GPU/CPU | Image Processing |
mindspore.ops.ExtractVolumePatches | Changed | Extract patches from input and put them in the “depth” output dimension. | r1.10: Ascend/CPU => r2.0.0-alpha: Ascend/GPU/CPU | Image Processing |
mindspore.ops.HSVToRGB | New | Convert one or more images from HSV to RGB. | r2.0.0-alpha: GPU/CPU | Image Processing |
mindspore.ops.RGBToHSV | New | Convert one or more images from RGB to HSV. | r2.0.0-alpha: Ascend/GPU/CPU | Image Processing |
mindspore.ops.SampleDistortedBoundingBoxV2 | New | Generate a single randomly distorted bounding box for an image. | r2.0.0-alpha: Ascend/CPU | Image Processing |
mindspore.ops.ScaleAndTranslate | New | Scale And Translate the input image tensor. | r2.0.0-alpha: Ascend/GPU/CPU | Image Processing |
mindspore.ops.MultilabelMarginLoss | New | MultilabelMarginLoss operation. | r2.0.0-alpha: Ascend/GPU | Loss Function |
mindspore.ops.AvgPool3D | Changed | 3D Average pooling operation. | r1.10: Ascend/CPU => r2.0.0-alpha: Ascend/GPU/CPU | Neural Network |
mindspore.ops.CTCGreedyDecoder | Changed | Performs greedy decoding on the logits given in inputs. | r1.10: Ascend/CPU => r2.0.0-alpha: Ascend/GPU/CPU | Neural Network |
mindspore.ops.DataFormatVecPermute | New | Permute input tensor from src_format to dst_format. | r2.0.0-alpha: Ascend/GPU/CPU | Neural Network |
mindspore.ops.FractionalAvgPool | New | Performs fractional avg pooling on the input. | r2.0.0-alpha: Ascend/GPU/CPU | Neural Network |
mindspore.ops.FractionalMaxPool | New | Performs fractional max pooling on the input. | r2.0.0-alpha: Ascend/GPU/CPU | Neural Network |
mindspore.ops.MaxPool3DWithArgmax | New | Performs a 3D max pooling on the input Tensor and returns both max values and indices. | r2.0.0-alpha: GPU | Neural Network |
mindspore.ops.MaxUnpool2D | New | Computes a partial inverse of MaxPool2D. | r2.0.0-alpha: GPU/CPU | Neural Network |
mindspore.ops.ResizeBilinear | Changed | r1.10: Resizes an image to a certain size using the bilinear interpolation. => r2.0.0-alpha: This API is deprecated, please use the mindspore.ops.ResizeBilinearV2 instead. | r1.10: Ascend/CPU/GPU => r2.0.0-alpha: | Neural Network |
mindspore.ops.UpsampleNearest3D | New | Performs nearest neighbor upsampling operation. | r2.0.0-alpha: Ascend/GPU/CPU | Neural Network |
mindspore.ops.UpsampleTrilinear3D | New | Performs upsampling with trilinear interpolation across 3dims for 5dim input Tensor. | r2.0.0-alpha: Ascend/GPU/CPU | Neural Network |
mindspore.ops.AdaptiveMaxPool3D | New | Applies a 3D adaptive max pooling over an input signal composed of several input planes. | r2.0.0-alpha: GPU/CPU | Optimizer |
mindspore.ops.ApplyAdaMax | Changed | Updates relevant entries according to the adamax scheme. | r1.10: Ascend/GPU => r2.0.0-alpha: Ascend/GPU/CPU | Optimizer |
mindspore.ops.SparseApplyAdagrad | Deleted | Deprecated | Ascend/GPU/CPU | Optimizer |
mindspore.ops.ScatterDiv | Changed | Updates the value of the input tensor through the divide operation. | r1.10: Ascend/CPU => r2.0.0-alpha: Ascend/GPU/CPU | Parameter Operation Operator |
mindspore.ops.EuclideanNorm | New | Computes the euclidean norm of elements across dimensions of a tensor. | r2.0.0-alpha: GPU | Reduction Operator |
mindspore.ops.ReduceStd | New | Returns the standard-deviation and mean of each row of the input tensor in the dimension axis. | r2.0.0-alpha: Ascend/CPU | Reduction Operator |
mindspore.ops.LogUniformCandidateSampler | Changed | Generates random labels with a log-uniform distribution for sampled_candidates. | r1.10: Ascend => r2.0.0-alpha: Ascend/CPU | Sampling Operator |
mindspore.ops.SparseTensorDenseMatmul | Changed | Multiplies sparse matrix A by dense matrix B. | r1.10: CPU => r2.0.0-alpha: GPU/CPU | Sparse Operator |
mindspore.ops.BartlettWindow | New | Bartlett window function. | r2.0.0-alpha: GPU/CPU | Spectral Operator |
mindspore.ops.BlackmanWindow | New | Blackman window function. | r2.0.0-alpha: Ascend/GPU/CPU | Spectral Operator |
mindspore.ops.NoRepeatNGram | Changed | r1.10: Updates log_probs with repeat n-grams. => r2.0.0-alpha: Updates the probability of occurrence of words with its corresponding n-grams. | r1.10: Ascend/CPU => r2.0.0-alpha: Ascend/GPU/CPU | Text Processing |
mindspore.ops.ScalarToArray | Deleted | Converts a scalar to a Tensor. | Ascend/GPU/CPU | Type Conversion |
mindspore.ops.StopGradient | New | StopGradient is used for eliminating the effect of a value on the gradient, such as truncating the gradient propagation from an output of a function. | r2.0.0-alpha: Ascend/GPU/CPU | operations--Frame Operators |
mindspore.ops.BesselJ0 | New | Computes BesselJ0 of input element-wise. | r2.0.0-alpha: GPU/CPU | operations--Mathematical Operators |
mindspore.ops.BesselJ1 | New | Computes BesselJ1 of input element-wise. | r2.0.0-alpha: GPU/CPU | operations--Mathematical Operators |
mindspore.ops.BesselK0 | New | Computes BesselK0 of input element-wise. | r2.0.0-alpha: GPU/CPU | operations--Mathematical Operators |
mindspore.ops.BesselK0e | New | Computes BesselK0e of input element-wise. | r2.0.0-alpha: GPU/CPU | operations--Mathematical Operators |
mindspore.ops.BesselK1 | New | Computes BesselK1 of input element-wise. | r2.0.0-alpha: GPU/CPU | operations--Mathematical Operators |
mindspore.ops.BesselK1e | New | Computes BesselK1e of input element-wise. | r2.0.0-alpha: GPU/CPU | operations--Mathematical Operators |
mindspore.ops.BesselY0 | New | Computes BesselY0 of input element-wise. | r2.0.0-alpha: GPU/CPU | operations--Mathematical Operators |
mindspore.ops.BesselY1 | New | Computes BesselY1 of input element-wise. | r2.0.0-alpha: GPU/CPU | operations--Mathematical Operators |
mindspore.ops.Betainc | New | Computes the regularized incomplete beta integral (I_{x}(a, b)). | r2.0.0-alpha: Ascend/GPU/CPU | operations--Mathematical Operators |
mindspore.ops.Bincount | New | Counts the number of occurrences of each value in an integer array. | r2.0.0-alpha: Ascend/GPU/CPU | operations--Mathematical Operators |
mindspore.ops.Bucketize | New | Bucketizes ‘input’ based on ‘boundaries’. | r2.0.0-alpha: GPU/CPU | operations--Mathematical Operators |
mindspore.ops.CompareAndBitpack | New | Compare values of x to threshold and pack resulting bits into a uint8. | r2.0.0-alpha: Ascend/GPU/CPU | operations--Mathematical Operators |
mindspore.ops.Complex | New | Returns a complex Tensor from the real part and the imag part. | r2.0.0-alpha: Ascend/GPU/CPU | operations--Mathematical Operators |
mindspore.ops.Gcd | New | Computes greatest common divisor of input tensors element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | operations--Mathematical Operators |
mindspore.ops.elu | New | Exponential Linear Unit activation function. | r2.0.0-alpha: Ascend/GPU/CPU | Activation Functions |
mindspore.ops.gelu | New | Gaussian Error Linear Units activation function. | r2.0.0-alpha: Ascend/CPU/GPU | Activation Functions |
mindspore.ops.glu | New | Computes GLU (Gated Linear Unit activation function) of input tensors . | r2.0.0-alpha: Ascend/GPU/CPU | Activation Functions |
mindspore.ops.prelu | New | Parametric Rectified Linear Unit activation function. | r2.0.0-alpha: Ascend/GPU/CPU | Activation Functions |
mindspore.ops.relu | New | Computes ReLU (Rectified Linear Unit activation function) of input tensors element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | Activation Functions |
mindspore.ops.relu6 | New | Computes ReLU (Rectified Linear Unit) upper bounded by 6 of input tensors element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | Activation Functions |
mindspore.ops.batch_to_space_nd | Changed | Divides batch dimension with blocks and interleaves these blocks back into spatial dimensions. | r1.10: Ascend/CPU => r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.col2im | Deleted | Combines an array of sliding local blocks into a large containing tensor. | GPU | Array Operation |
mindspore.ops.conj | New | Returns a tensor of complex numbers that are the complex conjugate of each element in input. | r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.cumprod | New | Computes the cumulative product of the input tensor along dimension dim. | r2.0.0-alpha: Ascend/CPU/GPU | Array Operation |
mindspore.ops.diag | Deleted | Constructs a diagonal tensor with a given diagonal values. | Ascend/GPU | Array Operation |
mindspore.ops.expand | New | Returns a new view of the self tensor with singleton dimensions expanded to a larger size. | r2.0.0-alpha: Ascend/CPU | Array Operation |
mindspore.ops.flip | New | Reverses the order of elements in a tensor along the given axis. | r2.0.0-alpha: GPU/CPU | Array Operation |
mindspore.ops.fliplr | New | Flips the entries in each row in the left/right direction. | r2.0.0-alpha: GPU/CPU | Array Operation |
mindspore.ops.flipud | New | Flips the entries in each column in the up/down direction. | r2.0.0-alpha: GPU/CPU | Array Operation |
mindspore.ops.index_fill | Deleted | Fills the elements under the dim dimension of the input Tensor x with the input value by selecting the indices in the order given in index. | GPU | Array Operation |
mindspore.ops.matrix_band_part | Deleted | Copy a tensor setting everything outside a central band in each innermost matrix to zero. | GPU/CPU | Array Operation |
mindspore.ops.matrix_diag_part | Deleted | Returns the diagonal part of input tensor. | Ascend/GPU/CPU | Array Operation |
mindspore.ops.matrix_set_diag | Deleted | Returns a batched matrix tensor with new batched diagonal values. | Ascend/GPU/CPU | Array Operation |
mindspore.ops.nonzero | Deleted | Return a Tensor of the positions of all non-zero values. | GPU | Array Operation |
mindspore.ops.normal | Deleted | Generates random numbers according to the Normal (or Gaussian) random number distribution. | Ascend/GPU/CPU | Array Operation |
mindspore.ops.numel | New | Returns a Scalar of type int that represents the total number of elements in the Tensor. | r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.permute | New | Permutes the dimensions of the input tensor according to input dims . | r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.repeat_elements | Deleted | Repeat elements of a tensor along an axis, like np.repeat . | Ascend/GPU/CPU | Array Operation |
mindspore.ops.reverse | New | Reverses specific dimensions of a tensor. | r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.sequence_mask | Deleted | Returns a mask tensor representing the first N positions of each cell. | GPU | Array Operation |
mindspore.ops.shuffle | New | Randomly shuffles a Tensor along its first dimension. | r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.space_to_batch_nd | Changed | Divides a tensor’s spatial dimensions into blocks and combines the block sizes with the original batch. | r1.10: Ascend/CPU => r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.sparse_segment_mean | Deleted | Computes a Tensor such that (output_i = \frac{\sum_j x_{indices[j]}}{N}) where mean is over (j) such that (segment_ids[j] == i) and (N) is the total number of values summed. | GPU/CPU | Array Operation |
mindspore.ops.strided_slice | New | Extracts a strided slice of a Tensor based on begin/end index and strides. | r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.tensor_scatter_elements | Deleted | Updates the value of the input tensor through the reduction operation. | Ascend/GPU/CPU | Array Operation |
mindspore.ops.tensor_scatter_max | New | By comparing the value at the position indicated by indices in input_x with the value in the updates, the value at the index will eventually be equal to the largest one to create a new tensor. | r2.0.0-alpha: GPU/CPU | Array Operation |
mindspore.ops.tensor_scatter_min | New | By comparing the value at the position indicated by indices in input_x with the value in the updates, the value at the index will eventually be equal to the smallest one to create a new tensor. | r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.unbind | New | Removes a tensor dimension in specified axis. | r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.unique_consecutive | Deleted | Returns the elements that are unique in each consecutive group of equivalent elements in the input tensor. | Ascend/GPU | Array Operation |
mindspore.ops.unsorted_segment_prod | Changed | Computes the product of a tensor along segments. | r1.10: Ascend/GPU => r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.unsqueeze | New | Adds an additional dimension to input_x at the given dim. | r2.0.0-alpha: Ascend/GPU/CPU | Array Operation |
mindspore.ops.coo_abs | New | Returns coo_absolute value of a COOTensor element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_acos | New | Computes arccosine of input coo_tensors element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_acosh | New | Computes inverse hyperbolic cosine of the inputs element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_asin | New | Computes arcsine of input coo_tensors element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_asinh | New | Computes inverse hyperbolic sine of the input element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_atan | New | Computes the trigonometric inverse tangent of the input element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_atanh | New | Computes inverse hyperbolic tangent of the input element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_ceil | New | Rounds a COOTensor up to the closest integer element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_cos | New | Computes cosine of input element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_cosh | New | Computes hyperbolic cosine of input element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_exp | New | Returns coo_exponential of a COOTensor element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_expm1 | New | Returns exponential then minus 1 of a COOTensor element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_floor | New | Rounds a COOTensor down to the closest integer element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_inv | New | Computes Reciprocal of input COOTensor element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_isfinite | New | Determines which elements are finite for each position. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_isinf | New | Determines which elements are inf or -inf for each position. | r2.0.0-alpha: CPU/GPU | COO Functions |
mindspore.ops.coo_isnan | New | Determines which elements are NaN for each position. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_log | New | Returns the natural logarithm of a COOTensor element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_log1p | New | Returns the natural logarithm of one plus the input COOTensor element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_neg | New | Returns a COOTensor with coo_negative values of the input COOTensor element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_relu | New | Computes ReLU (Rectified Linear Unit activation function) of input coo_tensors element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_relu6 | New | Computes ReLU (Rectified Linear Unit) upper bounded by 6 of input coo_tensors element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_round | New | Returns half to even of a COOTensor element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_sigmoid | New | Sigmoid activation function. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_sin | New | Computes sine of the input element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_sinh | New | Computes hyperbolic sine of the input element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_softsign | New | Softsign activation function. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_sqrt | New | Returns sqrt of a COOTensor element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_square | New | Returns square of a COOTensor element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.coo_tan | New | Computes tangent of x element-wise. | r2.0.0-alpha: Ascend/CPU/GPU | COO Functions |
mindspore.ops.coo_tanh | New | Computes hyperbolic tangent of input element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | COO Functions |
mindspore.ops.sparse_add | New | Computes the sum of x1(COOTensor) and x2(COOTensor), and return a new COOTensor based on the computed result and thresh. | r2.0.0-alpha: CPU/GPU | COO Functions |
mindspore.ops.csr_abs | New | Returns csr_absolute value of a CSRTensor element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_acos | New | Computes arccosine of input csr_tensors element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_acosh | New | Computes inverse hyperbolic cosine of the inputs element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_add | New | Returns alpha * csr_a + beta * csr_b where both csr_a and csr_b are CSRTensor, alpha and beta are both Tensor. | r2.0.0-alpha: GPU/CPU | CSR Functions |
mindspore.ops.csr_asin | New | Computes arcsine of input csr_tensors element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_asinh | New | Computes inverse hyperbolic sine of the input element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_atan | New | Computes the trigonometric inverse tangent of the input element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_atanh | New | Computes inverse hyperbolic tangent of the input element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_ceil | New | Rounds a CSRTensor up to the closest integer element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_cos | New | Computes cosine of input element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_cosh | New | Computes hyperbolic cosine of input element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_exp | New | Returns csr_exponential of a CSRTensor element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_expm1 | New | Returns exponential then minus 1 of a CSRTensor element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_floor | New | Rounds a CSRTensor down to the closest integer element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_inv | New | Computes Reciprocal of input CSRTensor element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_isfinite | New | Determines which elements are finite for each position. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_isinf | New | Determines which elements are inf or -inf for each position. | r2.0.0-alpha: CPU/GPU | CSR Functions |
mindspore.ops.csr_isnan | New | Determines which elements are NaN for each position. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_log | New | Returns the natural logarithm of a CSRTensor element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_log1p | New | Returns the natural logarithm of one plus the input CSRTensor element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_neg | New | Returns a CSRTensor with csr_negative values of the input CSRTensor element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_relu | New | Computes ReLU (Rectified Linear Unit activation function) of input csr_tensors element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_relu6 | New | Computes ReLU (Rectified Linear Unit) upper bounded by 6 of input csr_tensors element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_round | New | Returns half to even of a CSRTensor element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_sigmoid | New | Sigmoid activation function. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_sin | New | Computes sine of the input element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_sinh | New | Computes hyperbolic sine of the input element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_softmax | New | Calculates the softmax of a CSRTensorMatrix. | r2.0.0-alpha: GPU/CPU | CSR Functions |
mindspore.ops.csr_softsign | New | Softsign activation function. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_sqrt | New | Returns sqrt of a CSRTensor element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_square | New | Returns square of a CSRTensor element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.csr_tan | New | Computes tangent of x element-wise. | r2.0.0-alpha: Ascend/CPU/GPU | CSR Functions |
mindspore.ops.csr_tanh | New | Computes hyperbolic tangent of input element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | CSR Functions |
mindspore.ops.greater | New | Computes the boolean value of (input > other) element-wise. | r2.0.0-alpha: Ascend/CPU/GPU | Comparison Functions |
mindspore.ops.greater_equal | New | Computes the boolean value of (input >= other) element-wise. | r2.0.0-alpha: Ascend/CPU/GPU | Comparison Functions |
mindspore.ops.is_floating_point | New | Judge whether the data type of x is a floating point data type i.e., one of mindspore.flot64, mindspore.float32, mindspore.float16. | r2.0.0-alpha: Ascend/GPU/CPU | Comparison Functions |
mindspore.ops.isclose | Deleted | Returns a new Tensor with boolean elements representing if each element of x1 is “close” to the corresponding element of x2. | Ascend/GPU/CPU | Comparison Functions |
mindspore.ops.isinf | New | Determines which elements are inf or -inf for each position. | r2.0.0-alpha: Ascend/GPU/CPU | Comparison Functions |
mindspore.ops.less_equal | New | Computes the boolean value of (input_x <= other) element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | Comparison Functions |
mindspore.ops.minimum | Deleted | Computes the minimum of input tensors element-wise. | Ascend/GPU/CPU | Comparison Functions |
mindspore.ops.same_type_shape | Deleted | Checks whether the data type and shape of two tensors are the same. | Ascend/GPU/CPU | Comparison Functions |
mindspore.ops.print_ | New | Outputs the inputs to stdout. | r2.0.0-alpha: Ascend/GPU/CPU | Debugging Functions |
mindspore.ops.grad | Deleted | A wrapper function to generate the gradient function for the input function. | Ascend/GPU/CPU | Differential Functions |
mindspore.ops.jvp | Deleted | Compute the jacobian-vector-product of the given network. | Ascend/GPU/CPU | Differential Functions |
mindspore.ops.stop_gradient | New | StopGradient is used for eliminating the effect of a value on the gradient, such as truncating the gradient propagation from an output of a function. | r2.0.0-alpha: Ascend/GPU/CPU | Differential Functions |
mindspore.ops.value_and_grad | Deleted | A wrapper function to generate the function to calculate forward output and gradient for the input function. | Ascend/GPU/CPU | Differential Functions |
mindspore.ops.vjp | Deleted | Compute the vector-jacobian-product of the given network. | Ascend/GPU/CPU | Differential Functions |
mindspore.ops.vmap | Deleted | Vectorizing map (vmap) is a kind of higher-order function to map fn along the parameter axes. | Ascend/GPU/CPU | Differential Functions |
mindspore.ops.cdist | Changed | r1.10: Computes batched the p-norm distance between each pair of the two collections of row vectors. => r2.0.0-alpha: Computes p-norm distance between each pair of row vectors of two input Tensors. | r1.10: Ascend/CPU => r2.0.0-alpha: Ascend/GPU/CPU | Distance Functions |
mindspore.ops.pdist | New | Computes the p-norm distance between each pair of row vectors in the input. | r2.0.0-alpha: CPU | Distance Functions |
mindspore.ops.absolute | New | Alias for mindspore.ops.abs() . | r2.0.0-alpha: Ascend/GPU/CPU | Element-by-Element Operations |
mindspore.ops.addcmul | Changed | Performs the element-wise product of tensor x1 and tensor x2, multiply the result by the scalar value and add it to input_data. | r1.10: Ascend/GPU => r2.0.0-alpha: Ascend/GPU/CPU | Element-by-Element Operations |
mindspore.ops.angle | New | Returns the element-wise argument of a complex tensor. | r2.0.0-alpha: CPU | Element-by-Element Operations |
mindspore.ops.arccos | New | Alias for mindspore.ops.acos() . | r2.0.0-alpha: Ascend/GPU/CPU | Element-by-Element Operations |
mindspore.ops.arccosh | New | For details, please refer to mindspore.ops.acosh(). | r2.0.0-alpha: Ascend/GPU/CPU | Element-by-Element Operations |
mindspore.ops.arcsin | New | For details, please refer to mindspore.ops.asin(). | r2.0.0-alpha: Ascend/GPU/CPU | Element-by-Element Operations |
mindspore.ops.arctan | New | For details, please refer to mindspore.ops.atan(). | r2.0.0-alpha: Ascend/GPU/CPU | Element-by-Element Operations |
mindspore.ops.arctan2 | New | For details, please refer to mindspore.ops.atan2(). | r2.0.0-alpha: Ascend/GPU/CPU | Element-by-Element Operations |
mindspore.ops.bessel_i1e | Changed | Computes the Bessel i1e function of x element-wise. | r1.10: Ascend/GPU/CPU => r2.0.0-alpha: GPU/CPU | Element-by-Element Operations |
mindspore.ops.deg2rad | New | Calculates a new tensor with each of the elements of x converted from angles in degrees to radians. | r2.0.0-alpha: Ascend/GPU/CPU | Element-by-Element Operations |
mindspore.ops.divide | New | Alias for mindspore.ops.div() . | r2.0.0-alpha: Ascend/GPU/CPU | Element-by-Element Operations |
mindspore.ops.erfinv | New | Computes the inverse error function of input. | r2.0.0-alpha: Ascend/CPU/GPU | Element-by-Element Operations |
mindspore.ops.i0 | New | Alias for mindspore.ops.bessel_i0() . | r2.0.0-alpha: Ascend/GPU/CPU | Element-by-Element Operations |
mindspore.ops.lcm | New | Computes least common multiplier of input tensors element-wise. | r2.0.0-alpha: GPU/CPU | Element-by-Element Operations |
mindspore.ops.log10 | New | Returns a new tensor with the logarithm to the base 10 of the elements of input. | r2.0.0-alpha: Ascend/GPU/CPU | Element-by-Element Operations |
mindspore.ops.log2 | New | Returns a new tensor with the logarithm to the base 2 of the elements of input. | r2.0.0-alpha: Ascend/GPU/CPU | Element-by-Element Operations |
mindspore.ops.logit | New | Calculate the logit of a tensor element-wise. | r2.0.0-alpha: GPU/CPU | Element-by-Element Operations |
mindspore.ops.multiply | New | Refer to mindspore.ops.mul() for more details. | r2.0.0-alpha: Ascend/GPU/CPU | Element-by-Element Operations |
mindspore.ops.negative | New | Alias for mindspore.ops.neg() . | r2.0.0-alpha: Ascend/GPU/CPU | Element-by-Element Operations |
mindspore.ops.positive | New | Return self Tensor. | r2.0.0-alpha: Ascend/GPU/CPU | Element-by-Element Operations |
mindspore.ops.rad2deg | New | Returns a new tensor with each of the elements of x converted from angles in radians to degrees. | r2.0.0-alpha: Ascend/GPU/CPU | Element-by-Element Operations |
mindspore.ops.roll | New | Rolls the elements of a tensor along an axis. | r2.0.0-alpha: Ascend/GPU | Element-by-Element Operations |
mindspore.ops.sqrt | New | Returns sqrt of a tensor element-wise. | r2.0.0-alpha: Ascend/GPU/CPU | Element-by-Element Operations |
mindspore.ops.subtract | New | Performs the element-wise subtraction of input tensors. | r2.0.0-alpha: Ascend/GPU/CPU | Element-by-Element Operations |
mindspore.ops.true_divide | New | Alias for mindspore.ops.div() with (rounding_mode=None). | r2.0.0-alpha: Ascend/GPU/CPU | Element-by-Element Operations |
mindspore.ops.bounding_box_decode | New | Decodes bounding boxes locations. | r2.0.0-alpha: Ascend/GPU/CPU | Image Functions |
mindspore.ops.bounding_box_encode | New | Encodes bounding boxes locations. | r2.0.0-alpha: Ascend/GPU/CPU | Image Functions |
mindspore.ops.check_valid | New | Checks bounding box. | r2.0.0-alpha: Ascend/GPU/CPU | Image Functions |
mindspore.ops.crop_and_resize | New | Extracts crops from the input image Tensor and resizes them. | r2.0.0-alpha: Ascend/GPU/CPU | Image Functions |
mindspore.ops.pixel_shuffle | New | Applies a pixel_shuffle operation over an input signal composed of several input planes. | r2.0.0-alpha: Ascend/GPU/CPU | Image Functions |
mindspore.ops.pixel_unshuffle | New | Applies a pixel_unshuffle operation over an input signal composed of several input planes. | r2.0.0-alpha: Ascend/GPU/CPU | Image Functions |
mindspore.ops.addbmm | New | Applies batch matrix multiplication to batch1 and batch2, with a reduced add step. | r2.0.0-alpha: Ascend/GPU/CPU | Linear Algebraic Functions |
mindspore.ops.addmm | New | Multiplies matrix mat1 and matrix mat2. | r2.0.0-alpha: Ascend/GPU/CPU | Linear Algebraic Functions |
mindspore.ops.adjoint | New | Returns a view of the tensor conjugated and with the last two dimensions transposed. | r2.0.0-alpha: Ascend/GPU/CPU | Linear Algebraic Functions |
mindspore.ops.baddbmm | New | Performs a batch matrix-matrix product of matrices in batch1 and batch2. | r2.0.0-alpha: Ascend/GPU/CPU | Linear Algebraic Functions |
mindspore.ops.matrix_exp | New | Computes the matrix exponential of a square matrix. | r2.0.0-alpha: CPU | Linear Algebraic Functions |
mindspore.ops.matrix_solve | Deleted | Solves systems of linear equations. | GPU/CPU | Linear Algebraic Functions |
mindspore.ops.pinv | New | Computes the (Moore-Penrose) pseudo-inverse of a matrix. | r2.0.0-alpha: CPU | Linear Algebraic Functions |
mindspore.ops.renorm | Deleted | Renormalizes the sub-tensors along dimension dim, and each sub-tensor’s p-norm should not exceed the ‘maxnorm’. | Ascend/CPU/GPU | Linear Algebraic Functions |
mindspore.ops.binary_cross_entropy | New | Computes the binary cross entropy between predictive value logits and target value labels. | r2.0.0-alpha: Ascend/GPU/CPU | Loss Functions |
mindspore.ops.cross_entropy | Deleted | The cross entropy loss between input and target. | Ascend/GPU/CPU | Loss Functions |
mindspore.ops.gaussian_nll_loss | New | Gaussian negative log likelihood loss. | r2.0.0-alpha: Ascend/GPU/CPU | Loss Functions |
mindspore.ops.hinge_embedding_loss | New | Hinge Embedding Loss. | r2.0.0-alpha: Ascend/GPU/CPU | Loss Functions |
mindspore.ops.margin_ranking_loss | New | MarginRankingLoss creates a criterion that measures the loss. | r2.0.0-alpha: Ascend/GPU/CPU | Loss Functions |
mindspore.ops.multi_label_margin_loss | New | Hinge loss for optimizing a multi-label classification. | r2.0.0-alpha: Ascend/GPU | Loss Functions |
mindspore.ops.adaptive_avg_pool3d | Deleted | This operator applies a 3D adaptive average pooling to an input signal composed of multiple input planes. | GPU | Neural Network |
mindspore.ops.adaptive_max_pool2d | Deleted | adaptive_max_pool2d operation. | Ascend/GPU/CPU | Neural Network |
mindspore.ops.adaptive_max_pool3d | New | Applies a 3D adaptive max pooling over an input signal composed of several input planes. | r2.0.0-alpha: GPU/CPU | Neural Network |
mindspore.ops.avg_pool2d | Deleted | Average pooling operation. | Ascend/GPU/CPU | Neural Network |
mindspore.ops.avg_pool3d | New | Applies a 3D average pooling over an input Tensor which can be regarded as a composition of 3D input planes. | r2.0.0-alpha: Ascend/CPU | Neural Network |
mindspore.ops.batch_norm | New | Batch Normalization for input data and updated parameters. | r2.0.0-alpha: Ascend/CPU/GPU | Neural Network |
mindspore.ops.conv3d | New | Applies a 3D convolution over an input tensor. | r2.0.0-alpha: Ascend/GPU/CPU | Neural Network |
mindspore.ops.deformable_conv2d | Deleted | Given 4D tensor inputs x, weight and offsets, compute a 2D deformable convolution. | Ascend/GPU/CPU | Neural Network |
mindspore.ops.dropout1d | New | During training, randomly zeroes some channels of the input tensor with probability p from a Bernoulli distribution(For a 3-dimensional tensor with a shape of (NCL), the channel feature map refers to a 1-dimensional feature map with the shape of (L)). | r2.0.0-alpha: Ascend/GPU/CPU | Neural Network |
mindspore.ops.fold | New | Combines an array of sliding local blocks into a large containing tensor. | r2.0.0-alpha: CPU/GPU | Neural Network |
mindspore.ops.fractional_max_pool2d | New | Applies a 2D fractional max pooling to an input signal. | r2.0.0-alpha: CPU | Neural Network |
mindspore.ops.fractional_max_pool3d | New | This operator applies a 3D fractional max pooling over an input signal. | r2.0.0-alpha: GPU/CPU | Neural Network |
mindspore.ops.interpolate | Deleted | Using the interpolate method specified by mode resize the input tensor x. | Ascend/CPU/GPU | Neural Network |
mindspore.ops.lp_pool1d | New | Applies a 1D power lp pooling over an input signal composed of several input planes. | r2.0.0-alpha: Ascend/GPU/CPU | Neural Network |
mindspore.ops.lp_pool2d | New | Applies a 2D power lp pooling over an input signal composed of several input planes. | r2.0.0-alpha: Ascend/GPU/CPU | Neural Network |
mindspore.ops.max_unpool1d | New | Computes a partial inverse of maxpool1d. | r2.0.0-alpha: GPU/CPU | Neural Network |
mindspore.ops.max_unpool2d | New | Computes a partial inverse of maxpool2d. | r2.0.0-alpha: GPU/CPU | Neural Network |
mindspore.ops.max_unpool3d | New | Computes a partial inverse of maxpool3d. | r2.0.0-alpha: GPU/CPU | Neural Network |
mindspore.ops.unfold | New | Extracts sliding local blocks from a batched input tensor. | r2.0.0-alpha: Ascend/CPU | Neural Network |
mindspore.ops.core | Deleted | A decorator that adds a flag to the function. | Ascend/GPU/CPU | Other Functions |
mindspore.ops.scatter_nd_min | Deleted | Applying sparse minimum to individual values or slices in a tensor. | Ascend/GPU/CPU | Parameter Operation Functions |
mindspore.ops.poisson | Deleted | The ops.poisson is deprecated, please use mindspore.ops.random_poisson Generates random numbers according to the Poisson random number distribution. | Randomly Generating Functions | |
mindspore.ops.random_gamma | Deleted | Outputs random values from the Gamma distribution(s) described by alpha. | CPU | Randomly Generating Functions |
mindspore.ops.random_poisson | Deleted | Generates random numbers according to the Poisson random number distribution. | CPU | Randomly Generating Functions |
mindspore.ops.argmax | New | Return the indices of the maximum values of a tensor across a dimension. | r2.0.0-alpha: Ascend/GPU/CPU | Reduction Functions |
mindspore.ops.cummax | Deleted | Returns a tuple (values,indices) where ‘values’ is the cumulative maximum value of input Tensor x along the dimension axis, and indices is the index location of each maximum value. | GPU/CPU | Reduction Functions |
mindspore.ops.cummin | Deleted | Returns a tuple (values,indices) where ‘values’ is the cumulative minimum value of input Tensor x along the dimension axis, and indices is the index location of each minimum value. | Ascend/GPU/CPU | Reduction Functions |
mindspore.ops.cumsum | New | Computes the cumulative sum of input Tensor along axis. | r2.0.0-alpha: Ascend/GPU/CPU | Reduction Functions |
mindspore.ops.mean | Deleted | Reduces a dimension of a tensor by averaging all elements in the dimension, by default. | Ascend/GPU/CPU | Reduction Functions |
mindspore.ops.median | New | Computes the median and indices of input tensor. | r2.0.0-alpha: GPU/CPU | Reduction Functions |
mindspore.ops.min | Deleted | Calculates the minimum value along with the given axis for the input tensor. | Ascend/GPU/CPU | Reduction Functions |
mindspore.ops.norm | Deleted | Returns the matrix norm or vector norm of a given tensor. | Ascend/GPU/CPU | Reduction Functions |
mindspore.ops.choice_with_mask | New | Generates a random sample as index tensor with a mask tensor from a given tensor. | r2.0.0-alpha: Ascend/GPU/CPU | Sampling Functions |
mindspore.ops.log_uniform_candidate_sampler | New | Generates random labels with a log-uniform distribution for sampled_candidates. | r2.0.0-alpha: Ascend/CPU | Sampling Functions |
mindspore.ops.bartlett_window | New | Bartlett window function. | r2.0.0-alpha: GPU/CPU | Spectral Functions |
mindspore.ops.blackman_window | New | Blackman window function. | r2.0.0-alpha: GPU/CPU | Spectral Functions |
mindspore.ops.arange | New | Creates a sequence of numbers that begins at start and extends by increments of step up to but not including end. | r2.0.0-alpha: Ascend/GPU/CPU | Tensor Building |
mindspore.ops.scalar_to_array | Deleted | Converts a scalar to a Tensor. | Ascend/GPU/CPU | Type Conversion |
mindspore.ops.range | Changed | Creates a sequence of numbers that begins at start and extends by increments of delta up to but not including limit. | r1.10: GPU/CPU => r2.0.0-alpha: Ascend/GPU/CPU | r1.10: Array Operation => r2.0.0-alpha: Tensor Building |
mindspore.ops.grid_sample | Changed | Given an input_x and a flow-field grid, computes the output using input_x values and pixel locations from grid. | r1.10: Ascend/GPU => r2.0.0-alpha: Ascend/GPU/CPU | r1.10: Sampling Functions => r2.0.0-alpha: Image Functions |
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。