Task: Get Tensor Dimensions at Graph Construction Time in TensorFlow
Task: Get Tensor Dimensions at Graph Construction Time in TensorFlow: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that demonstrates how to retrieve the dimensions (shape) of a tensor at graph construction time in TensorFlow, without needing to run a session.
The task
Write a Python script that demonstrates how to retrieve the dimensions (shape) of a tensor at graph construction time in TensorFlow, without needing to run a session.
Part of PrimeIntellect/Terminal-Lego-15k.