DeepLearning,Tensor,value - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : DeepLearning Package : Tensors : Operations on Tensors : DeepLearning/Tensor/value

DeepLearning,Tensor,value

compute value of Tensor object in the default session

 

Calling Sequence

Parameters

Options

Description

Examples

Compatibility

Calling Sequence

value(t,fd,opts)

Parameters

t

-

Tensor or list of Tensors

fd

-

(optional) table or set or list of equations

options

-

(optional) options as specified below

Options

• 

session=Session

The value of option session is a Session object specifying the session in which to evaluate t. Its default value is the default session returned by GetDefaultSession.

Description

• 

The value(t) command computes the value of the Tensor t in the default Session.

• 

When no session option is provided, this call is equivalent to GetDefaultSession():-Run(t,dt).

Examples

withDeepLearning:

sessSession

sessDeepLearning Session<tensorflow.python.client.session.Session object at 0x7f03daa60d10>

(1)

tConstant7.5&comma;datatype=float4

tDeepLearning TensorName: Const:0Shape: [1]Data Type: float[4]

(2)

valuet&comma;session=sess

7.50000000000000

(3)

Compatibility

• 

The DeepLearning,Tensor,value command was introduced in Maple 2018.

• 

For more information on Maple 2018 changes, see Updates in Maple 2018.

See Also

DeepLearning Overview

Tensor