tf_quant_finance.math.qmc.utils.get_shape

Contents

Last updated: 2023-03-16.

tf_quant_finance.math.qmc.utils.get_shape#

View source

Returns the shape of a given Tensor.

tf_quant_finance.math.qmc.utils.get_shape(
    value
)

Args:#

  • value: Scalar `Tensor of integers or real values.

Returns:#

Tensor of integers with rank 1.