Home
last modified time | relevance | path

Searched refs:FlatMap (Results 1 – 25 of 36) sorted by relevance

12

/external/tensorflow/tensorflow/core/lib/gtl/
Dflatmap.h39 class FlatMap {
72 FlatMap() : FlatMap(1) {} in FlatMap() function
74 explicit FlatMap(size_t N, const Hash& hf = Hash(), const Eq& eq = Eq())
77 FlatMap(const FlatMap& src) : rep_(src.rep_) {} in FlatMap() function
81 FlatMap(FlatMap&& src) : rep_(std::move(src.rep_)) {} in FlatMap() function
84 FlatMap(InputIter first, InputIter last, size_t N = 1,
86 : FlatMap(N, hf, eq) { in FlatMap() function
90 FlatMap(std::initializer_list<std::pair<const Key, Val>> init, size_t N = 1,
92 : FlatMap(init.begin(), init.end(), N, hf, eq) {}
94 FlatMap& operator=(const FlatMap& src) {
[all …]
Dflatmap_test.cc30 typedef FlatMap<int64, int32> NumMap;
146 FlatMap<int64, std::unique_ptr<string>> smap; in TEST()
284 TEST(FlatMap, AlternatingInsertRemove) { in TEST() argument
295 TEST(FlatMap, ClearNoResize) { in TEST() argument
305 TEST(FlatMap, Clear) { in TEST() argument
315 TEST(FlatMap, Copy) { in TEST() argument
329 TEST(FlatMap, InitFromIter) { in TEST() argument
339 TEST(FlatMap, InitializerList) { in TEST() argument
361 TEST(FlatMap, InsertIter) { in TEST() argument
372 TEST(FlatMap, Eq) { in TEST() argument
[all …]
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/
Drx-flat_map.hpp269 …class FlatMap = rxo::detail::flat_map<rxu::decay_t<Observable>, rxu::decay_t<CollectionSelector>, …
272 class Result = observable<Value, FlatMap>
275 …return Result(FlatMap(std::forward<Observable>(o), std::forward<CollectionSelector>(s), ResultSele… in member()
286 …class FlatMap = rxo::detail::flat_map<rxu::decay_t<Observable>, rxu::decay_t<CollectionSelector>, …
289 class Result = observable<Value, FlatMap>
292 …return Result(FlatMap(std::forward<Observable>(o), std::forward<CollectionSelector>(s), ResultSele… in member()
303 …class FlatMap = rxo::detail::flat_map<rxu::decay_t<Observable>, rxu::decay_t<CollectionSelector>, …
307 class Result = observable<Value, FlatMap>
310 …return Result(FlatMap(std::forward<Observable>(o), std::forward<CollectionSelector>(s), std::forwa… in member()
320 …class FlatMap = rxo::detail::flat_map<rxu::decay_t<Observable>, rxu::decay_t<CollectionSelector>, …
[all …]
/external/tensorflow/tensorflow/c/eager/
Dtape.h50 using TensorTape = gtl::FlatMap<int64, int64>;
54 using OpTape = gtl::FlatMap<int64, OpTapeEntry<BackwardFunction, TapeTensor>>;
146 const gtl::FlatMap<int64, TapeTensor> sources_that_are_targets,
159 gtl::FlatMap<int64, int64> tensor_usage_;
310 gtl::FlatMap<int64, int64> tensor_usage_counts;
314 gtl::FlatMap<int64, int64> op_missing_tensor;
386 const gtl::FlatMap<int64, int64>& op_missing_tensor) { in InitialStack()
400 gtl::FlatMap<int64, TapeTensor> sources_that_are_targets, in InitialGradients()
403 gtl::FlatMap<int64, std::vector<Gradient*>>* result) { in InitialGradients()
457 gtl::FlatMap<string, gtl::FlatSet<int>>* FunctionsAcceptingNoneForIndicesMap() { in FunctionsAcceptingNoneForIndicesMap()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcontext.h109 gtl::FlatMap<string, Device*, StringPieceHasher>* device_map() { in device_map()
222 const gtl::FlatMap<string, uint64>& remote_contexts, Rendezvous* r,
267 gtl::FlatMap<string, Device*, StringPieceHasher> devices_map_;
327 gtl::FlatMap<string, uint64> remote_contexts_;
329 gtl::FlatMap<Device*, std::pair<eager::EagerClient*, uint64>>
/external/tensorflow/tensorflow/core/grappler/costs/
Danalytical_cost_estimator.cc41 gtl::FlatMap<string, CostGraphDef::Node*>* name_to_cost_node, in AddCostNode()
42 gtl::FlatMap<string, int>* name_to_id, in AddCostNode()
147 gtl::FlatMap<string, CostGraphDef::Node*> name_to_cost_node; in PredictCosts()
161 gtl::FlatMap<string, int> name_to_id; in PredictCosts()
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dfusion_utils.cc84 gtl::FlatMap<string, string> GetUniqueNames(const Iterable& first_iterable, in GetUniqueNames()
86 gtl::FlatMap<string, string> changed_node_names; in GetUniqueNames()
118 const gtl::FlatMap<string, string> changed_node_names = in RenameFunctionNodes()
155 const gtl::FlatMap<string, string> changed_input_names = in GetUniqueSignature()
168 const gtl::FlatMap<string, string> changed_output_names = GetUniqueNames( in GetUniqueSignature()
/external/swiftshader/third_party/subzero/src/
DIceTimerTree.cpp295 DumpMapType FlatMap; in dump() local
300 FlatMap.insert(std::make_pair(LeafTimes[i], PrefixStr + IDs[i])); in dump()
304 dumpHelper(Str, FlatMap, TotalTime, AddPercents); in dump()
/external/tensorflow/tensorflow/core/framework/
Dvariant_op_registry.h149 gtl::FlatMap<StringPiece, VariantDecodeFn, StringPieceHasher> decode_fns;
162 gtl::FlatMap<std::pair<VariantDeviceCopyDirection, TypeIndex>,
204 gtl::FlatMap<FuncTuple<VariantUnaryOp>, VariantUnaryOpFn, TupleHash>
206 gtl::FlatMap<FuncTuple<VariantBinaryOp>, VariantBinaryOpFn, TupleHash>
Dcancellation.h144 gtl::FlatMap<CancellationToken, CancelCallback> callbacks_ GUARDED_BY(mu_);
Dcancellation.cc37 gtl::FlatMap<CancellationToken, CancelCallback> callbacks_to_run; in StartCancel()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmeta_optimizer_test.cc95 gtl::FlatMap<string, GrapplerItem::OptimizationOptions>* in SetOptimizationOptions()
124 static gtl::FlatMap<string, GrapplerItem::OptimizationOptions>*
128 gtl::FlatMap<string, GrapplerItem::OptimizationOptions>*
610 gtl::FlatMap<string, GrapplerItem::OptimizationOptions> optimization_options; in TEST_F()
795 gtl::FlatMap<string, GrapplerItem::OptimizationOptions> optimization_options; in TEST_F()
869 gtl::FlatMap<string, GrapplerItem::OptimizationOptions> optimization_options; in TEST_F()
/external/tensorflow/tensorflow/core/common_runtime/
Dcollective_param_resolver_local.h236 gtl::FlatMap<int32, std::unique_ptr<GroupRec>> group_table_
239 gtl::FlatMap<int32, std::unique_ptr<InstanceRec>> instance_table_
Dcollective_executor_mgr.h70 gtl::FlatMap<int64, CollectiveExecutor*> executor_table_ GUARDED_BY(exec_mu_);
Dbuf_rendezvous.h97 typedef gtl::FlatMap<string, Hook*> HookTable;
Dtest_collective_executor_mgr.h113 gtl::FlatMap<int64, CollectiveExecutor*> table_ GUARDED_BY(mu_);
/external/tensorflow/tensorflow/core/grappler/
Dutils.h66 gtl::FlatMap<string, NodeDef*> nodes_;
67 gtl::FlatMap<string, std::set<NodeDef*>> outputs_;
/external/tensorflow/tensorflow/core/distributed_runtime/
Ddevice_resolver_distributed.h63 gtl::FlatMap<string, DeviceAttributes> attr_table_ GUARDED_BY(mu_);
Drpc_collective_executor_mgr.h80 gtl::FlatMap<int64, GraphKeySequence*> sequence_table_
Dbase_rendezvous_mgr.h100 typedef gtl::FlatMap<int64, BaseRemoteRendezvous*> Table;
/external/tensorflow/tensorflow/core/kernels/
Dpartitioned_function_ops.h66 gtl::FlatMap<FunctionLibraryRuntime*, FunctionLibraryRuntime::Handle> handles_
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc57 tensorflow::gtl::FlatMap<string,
61 tensorflow::gtl::FlatMap<string, AttrToInputsMap*>* GetAllAttrToInputsMaps() { in GetAllAttrToInputsMaps()
63 new tensorflow::gtl::FlatMap<string, AttrToInputsMap*>; in GetAllAttrToInputsMaps()
118 tensorflow::gtl::FlatMap<string, tensorflow::DataType> cached_dtypes;
269 tensorflow::gtl::FlatMap<string, tensorflow::int64>* attr_list_sizes, in SetOpAttrList()
432 tensorflow::gtl::FlatMap<string, tensorflow::int64>* attr_list_sizes, in SetOpAttrListDefault()
527 tensorflow::gtl::FlatMap<string, tensorflow::int64>* attr_list_sizes, in SetOpAttrScalar()
624 tensorflow::gtl::FlatMap<string, tensorflow::int64>* attr_list_sizes, in SetOpAttrScalarDefault()
673 tensorflow::gtl::FlatMap<string, tensorflow::int64>* attr_list_sizes, in SetOpAttrWithDefaults()
1704 tensorflow::gtl::FlatMap<tensorflow::int64, PyTapeTensor>
[all …]
/external/tensorflow/tensorflow/core/util/ctc/
Dctc_beam_entry.h94 gtl::FlatMap<int, BeamEntry<CTCBeamState>*> children;
/external/tensorflow/tensorflow/c/
Dc_api_internal.h104 tensorflow::gtl::FlatMap<TF_Session*, tensorflow::string> sessions
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Deager_service_impl.h177 gtl::FlatMap<RemoteTensorHandleInternal, tensorflow::TensorHandle*,

12