Home
last modified time | relevance | path

Searched refs:TensorSliceSet (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/util/
Dtensor_slice_set.cc28 TensorSliceSet::TensorSliceSet(const TensorShape& shape, DataType type) in TensorSliceSet() function in tensorflow::checkpoint::TensorSliceSet
31 TensorSliceSet::~TensorSliceSet() {} in ~TensorSliceSet()
33 Status TensorSliceSet::Register(const TensorSlice& slice, const string& tag, in Register()
56 TensorSliceSet::SliceInfo info = {slice, tag, data, in Register()
63 bool TensorSliceSet::Query(const TensorSlice& slice, float* data) const { in Query()
67 const TensorSliceSet::SliceInfo* info = gtl::FindOrNull(slices_, str); in Query()
119 bool TensorSliceSet::QueryMeta( in QueryMeta()
126 const TensorSliceSet::SliceInfo* info = gtl::FindOrNull(slices_, str); in QueryMeta()
174 std::unordered_map<string, TensorSliceSet*>* tensor_slices) { in RegisterTensorSlice()
176 TensorSliceSet* tss = gtl::FindPtrOrNull(*tensor_slices, name); in RegisterTensorSlice()
[all …]
Dtensor_slice_set.h40 class TensorSliceSet {
42 TensorSliceSet(const TensorShape& shape, DataType type);
43 virtual ~TensorSliceSet();
102 std::unordered_map<string, TensorSliceSet*>* tensor_slices);
Dtensor_slice_reader.h95 const std::unordered_map<string, TensorSliceSet*>& Tensors() const { in Tensors()
122 const TensorSliceSet* FindTensorSlice(
135 mutable std::unordered_map<string, TensorSliceSet*> tensors_;
148 const TensorSliceSet* tss; in CopySliceData()
Dtensor_slice_set_test.cc44 TensorSliceSet tss(shape, DT_FLOAT); in TEST()
144 TensorSliceSet tss(shape, DT_INT32); in TEST()
242 TensorSliceSet slice_set(shape, DT_INT32); in BM_RegisterOneByOne()
Dtensor_slice_reader.cc189 const TensorSliceSet* TensorSliceReader::FindTensorSlice( in FindTensorSlice()
192 const TensorSliceSet* tss = gtl::FindPtrOrNull(tensors_, name); in FindTensorSlice()
204 const TensorSliceSet* tss = gtl::FindPtrOrNull(tensors_, name); in HasTensor()
231 const TensorSliceSet* tss = gtl::FindPtrOrNull(tensors_, name); in GetTensor()
/external/tensorflow/tensorflow/core/util/tensor_bundle/
Dtensor_bundle.h297 std::unordered_map<string, checkpoint::TensorSliceSet*> tensor_slices_;
Dtensor_bundle.cc935 using checkpoint::TensorSliceSet; in GetSliceValue()
941 const TensorSliceSet* tss = in GetSliceValue()