Converting FunctionalTensor to TensorFloat

Hello,
How to convert ‘Unity.Sentis.FunctionalTensor’ to ‘Unity.Sentis.TensorFloat’?
I want to inspect the shape and contents of a FunctionalTensor, however, I did not find any supporting method to do so. I know there are ways to do that for TensorFloat.
The data type of the functional tensor is Float.
So can I convert functional tensor to tensorfloat and inspect it’s size and shape while debugging?
I have tried as suggested here, Cast Tensor to TensorFloat - #2 by alexandreribard_unity,
TensorFloat vc = boxCoords as TensorFloat; //boxCoords is a FunctionalTensor
and I get the following error:

Error (active) CS0039 Cannot convert type ‘Unity.Sentis.FunctionalTensor’ to ‘Unity.Sentis.TensorFloat’ via a reference conversion, boxing conversion, unboxing conversion, wrapping conversion, or null type conversion

Will appreciate any help and suggestion. Thanks!

Functional tensor api is a way for you to build a model from scratch or to add layers to a model.
Right now you need to compile your expression to a model and run this :slight_smile:
Checkout ~Samples/Use the functional API with an existing model

I see, in that case what’s the way for me to debug and see all that is happening inside a model.

Lets say I am interested in knowing the output of the following line during execution.

How can I do it?