MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / IsEmptyList

Function IsEmptyList

tensorflow/cc/framework/cc_op_gen.cc:283–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283bool IsEmptyList(const AttrValue::ListValue& list) {
284 return list.s_size() == 0 && list.i_size() == 0 && list.f_size() == 0 &&
285 list.b_size() == 0 && list.type_size() == 0 &&
286 list.shape_size() == 0 && list.tensor_size() == 0;
287}
288
289string ToCamelCase(const string& str) {
290 string result;

Callers 1

GetOpAttrStructMethod · 0.85

Calls 1

tensor_sizeMethod · 0.80

Tested by

no test coverage detected