tensor 源代码

Tensor技术,作为现代电子工程与数据科学的核心组件之一,广泛应用于机器学习、图像处理及自然语言处理等领域。通过高效的数据结构支持多维数组运算,Tensor极大提升了算法开发效率与性能表现。无论是深度神经网络的构建还是复杂信号分析任务,掌握Tensor操作都是工程师不可或缺的技…

收录资源 199 份 全站深度检索
源码文件

function Y = squeeze(X) %SQUEEZE Remove singleton dimensions from a tensor. % % Y = SQUEEZE(X) returns a tensor Y with the same …

源码文件

function Z = or(X,Y) %OR Logical OR (|) for tensors. % % See also TENSOR. % %MATLAB Tensor Toolbox. %Copyright 2007, Sandia Corp…

源码文件

function Z = xor(X,Y) %XOR Logical EXCLUSIVE OR for tensors. % % See also TENSOR. % %MATLAB Tensor Toolbox. %Copyright 2007, Sa…

源码文件

function c = ttt(varargin) %TTT Tensor mulitplication (tensor times tensor). % % TTT(X,Y) computes the outer product of tensors…

源码文件

function Z = tenfun(fun,varargin) %TENFUN Apply a function to each element in a tensor. % % TENFUN(F,X,...) applies the function…

源码文件

function Z = gt(X,Y) %GT Greater than (>) for tensors. % % See also TENSOR. % %MATLAB Tensor Toolbox. %Copyright 2007, Sandia Co…

源码文件

function Y = scale(X,S,dims) %SCALE Scale along specified dimensions of tensor. % % Y = SCALE(X,S,DIMS) scales the tensor X a…

源码文件

function a = subsref(t,s) %SUBSREF Subscripted reference for tensors. % % We can extract elements or subtensors from a tensor in…

源码文件

function res = innerprod(X,Y) %INNERPROD Efficient inner product with a tensor. % % R = INNERPROD(X,Y) efficiently computes the …

源码文件

function T = permute(T,order) %PERMUTE Permute tensor dimensions. % % B = PERMUTE(A,ORDER) rearranges the dimensions of A so tha…