MCPcopy Create free account
hub / github.com/alibaba/euler / values

Method values

tf_euler/utils/sparse_tensor_builder.h:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 }
46
47 Tensor values() {
48 DataTypeToEnum<T> mapper;
49 Tensor tensor(mapper.value, {static_cast<int64>(values_.size())});
50 CopyVectorToTensor(values_, &tensor);
51 return tensor;
52 }
53
54 Tensor dense_shape() {
55 Tensor tensor(DT_INT64, {static_cast<int64>(dense_shape_.size())});

Callers 9

load_dataFunction · 0.80
ComputeAsyncMethod · 0.80
ComputeAsyncMethod · 0.80
ComputeAsyncMethod · 0.80
ComputeAsyncMethod · 0.80
ComputeAsyncMethod · 0.80
ComputeAsyncMethod · 0.80
ComputeAsyncMethod · 0.80
ComputeAsyncMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected