DeepLearning/Tensor/Name - Maple Programming Help

Home : Support : Online Help : Programming : DeepLearning Package : Tensors : Query Properties of Tensors : DeepLearning/Tensor/Name

DeepLearning/Tensor/Name

get name of Tensor

 Calling Sequence Name(t)

Parameters

 t - Tensor

Description

 • The Name(t) command returns a Maple string corresponding to the name of t in the dataflow graph.

Examples

 > $\mathrm{with}\left(\mathrm{DeepLearning}\right):$
 > $t≔\mathrm{Constant}\left(⟨⟨1.,2.⟩|⟨3.,4.⟩|⟨5.,6.⟩⟩,\mathrm{datatype}=\mathrm{float}\left[4\right],\mathrm{name}="CustomName"\right)$
 ${t}{≔}\left[\begin{array}{c}{\mathrm{DeepLearning Tensor}}\\ {\mathrm{Name: CustomName:0}}\\ {\mathrm{Shape: \left[2, 3\right]}}\\ {\mathrm{Data Type: float\left[4\right]}}\end{array}\right]$ (1)
 > $\mathrm{Name}\left(t\right)$
 ${"CustomName:0"}$ (2)

Compatibility

 • The DeepLearning/Tensor/Name command was introduced in Maple 2018.