最近从桑迪亚实验室下载了张量工具包。但是不太会用。

很多网上的方法,

addpath(pwd)

cd met; addpath(pwd)

savepath

M=ones(4,3,2);

X=tensor(M);

X=tensor(rand(5,1))

Y=tensor(rand(4,3,1))

X=tenrand([4 3 2])

X.size

%***************************

R=sptenrand([5 4 2],12) 

tenmat(R,1);  

tenmat(R,2);  

tenmat(R,3); 

相关文章:

  • 2022-01-14
  • 2021-07-09
  • 2021-08-17
  • 2021-12-10
  • 2021-04-08
  • 2021-07-20
  • 2021-10-30
猜你喜欢
  • 2021-08-28
  • 2021-12-29
  • 2021-06-19
  • 2022-01-09
  • 2022-01-17
  • 2022-12-23
  • 2021-12-18
相关资源
相似解决方案