tensor 源代码

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

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

function a = subsref(t,s) %SUBSREF Subscripted reference for a sptenmat. % % Examples % A.subs

源码文件

function sz = tsize(a,idx) %TSIZE Tensor size of sptenmat. % % D = TSIZE(X) returns the size of the tensor being stored as a % …

源码文件

function disp(a,name) %DISP Command window display of a sptenmat. % % DISP(T) displays the tensor without printing its name. % %…

源码文件

function t = uminus(t) %UMINUS Unary minus (-) for sptenmat. % % See also SPTENMAT. % %MATLAB Tensor Toolbox. %Copyright 2007, S…

源码文件

Restricted Software License Agreement Sandia Corporation ("SANDIA"), under its Contract No. DE-AC04-94AL85000 with the United Sta…

源码文件

function X = tenzeros(sz) %TENZEROS Zeros tensor. % % X = TENZEROS(SZ) forms a tensor of size SZ with all zeros. % % TENZ…

源码文件

function B = full(A) %FULL Convert a sparse tensor to a (dense) tensor. % % B = FULL(A) converts a sptensor A to a (dense) tenso…

源码文件

function Y = ttm(X,V,varargin) %TTM Sparse tensor times matrix. % % Y = TTM(X,A,N) computes the n-mode product of the sptensor X…

源码文件

% @SPTENSOR % % Files % and - Logical AND (&) for sptensors. % collapse - Collapse sparse tensor along specified dime…

源码文件

function t = scale(t,s,dims) %SCALE Scale along specified dimensions for sparse tensors. % % Y = SCALE(X,S,DIMS) scales the spar…