MCPcopy Create free account
hub / github.com/ai-techsystems/deepC / empty

Method empty

include/core/tensor.h:495–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

493 return this->operator()(indices);
494 }
495 bool empty() { return this->length() == 0; }
496 std::string dtype() { return dtype_str[typeid(T).name()[0] - 'a']; }
497 std::string to_proto() // return proto string
498 {

Callers 9

test_createMethod · 0.45
test_non_detailedFunction · 0.45
modelInputsMethod · 0.45
writeUsageFunctionMethod · 0.45
writeMethod · 0.45
computeMethod · 0.45
readTensorFunction · 0.45
addIONodeMethod · 0.45
addOPNodeMethod · 0.45

Calls 1

lengthMethod · 0.45

Tested by 2

test_createMethod · 0.36
test_non_detailedFunction · 0.36