blob: 1d6746aff6d1b554012eac838b51e71a88b7fa7d [file] [log] [blame]
// included as 'TensorDenseOrSparse' in TensorDerived.cpp
IntList ${Tensor}::strides() {
runtime_error("Sparse tensors do not have strides.");
}
Scalar ${Tensor}::localScalar() {
runtime_error("NYI localScalar() on sparse tensors.");
}
void ${Tensor}::assign_(Scalar s) {
runtime_error("NYI assign_() on sparse tensors.");
}