Skip to content

Latest commit

 

History

History
74 lines (56 loc) · 1.8 KB

File metadata and controls

74 lines (56 loc) · 1.8 KB

description: Gets sparse tensors for all the leaves of the prensor expression. (deprecated)

s2t.get_sparse_tensors

View source on GitHub

Gets sparse tensors for all the leaves of the prensor expression. (deprecated)

s2t.get_sparse_tensors(
    t: s2t.Prensor,
    options: calculate_options.Options = calculate_options.get_default_options()
) -> Mapping[s2t.Path, tf.SparseTensor]

Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use the Prensor class method instead.

Args

`t` The Prensor to extract tensors from.
`options` Currently unused.

Returns

A map from paths to sparse tensors.