TACO Python API Reference
Data Types
Formats
Tensor I/O
Scheduling Commands
Index Expressions
Tensors
Tensor Class
Tensor Compute Functions
Tensor Manipulation Functions
pytaco.tensor.transpose
pytaco.tensor.pack
pytaco.tensor.compile
pytaco.tensor.assemble
pytaco.tensor.compute
pytaco.tensor.evaluate
pytaco.tensor.to_dense
pytaco.tensor.to_array
pytaco.tensor.toarray
pytaco.tensor.to_sp_csr
pytaco.tensor.to_sp_csc
pytaco.tensor.copy
pytaco.tensor.insert
pytaco.tensor.remove_explicit_zeros
pytaco.remove_explicit_zeros
Evaluating String Expressions
User-Defined Functions
TACO Python API Reference
»
Tensors
»
Tensor Compute Functions
»
pytaco.tensor.remove_explicit_zeros
View page source
pytaco.tensor.remove_explicit_zeros
tensor.
remove_explicit_zeros
(
new_fmt
=
None
,
new_dtype
=
None
)
Same as
remove_explicit_zeros()
.