HomeSort by relevance Sort by last modified time
    Searched refs:placer (Results 1 - 7 of 7) sorted by null

  /external/tensorflow/tensorflow/core/grappler/costs/
virtual_placer_test.cc 36 VirtualPlacer placer(&cluster);
41 EXPECT_EQ("GPU", placer.get_device(node).type());
43 placer.get_canonical_device_name(node));
46 EXPECT_EQ("CPU", placer.get_device(node).type());
48 placer.get_canonical_device_name(node));
51 EXPECT_EQ("GPU", placer.get_device(node).type());
53 placer.get_canonical_device_name(node));
66 VirtualPlacer placer(&cluster);
71 EXPECT_EQ("GPU", placer.get_device(node).type());
72 EXPECT_EQ("/GPU:0", placer.get_canonical_device_name(node))
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
ViewLayoutUtils.java 33 public static MarginLayoutParams newLayoutParam(final ViewGroup placer, final int width,
35 if (placer instanceof FrameLayout) {
37 } else if (placer instanceof RelativeLayout) {
39 } else if (placer == null) {
40 throw new NullPointerException("placer is null");
42 throw new IllegalArgumentException("placer is neither FrameLayout nor RelativeLayout: "
43 + placer.getClass().getName());
  /external/tensorflow/tensorflow/core/grappler/optimizers/
static_schedule.cc 32 const VirtualPlacer& placer, const NodeDef& node) {
43 DeviceProperties device = placer.get_device(node);
91 VirtualPlacer placer(cluster);
98 PredictExecutionTime(properties, estimator, placer, *node);
159 VirtualPlacer placer(cluster);
166 PredictExecutionTime(properties, estimator, placer, *node);
  /external/tensorflow/tensorflow/compiler/xla/service/
computation_placer.cc 118 "could not find registered computation placer for platform %s -- check "
123 if (it->second.placer == nullptr) {
124 // Lazily create the computation placer the first time it is needed.
125 it->second.placer = (*it->second.creation_function)();
128 return it->second.placer.get();
computation_placer.h 60 // A generic implementation of the XLA computation placer, which assigns device
81 // Registers a computation placer creation function for a particular platform.
86 // Returns the computation placer singleton pointer if it is available for the
92 // The mutex that guards the platform-to-computation placer map.
96 // up creation_function, and then we use that to lazily create "placer" the
99 std::unique_ptr<ComputationPlacer> placer; member in struct:xla::ComputationPlacer::State
103 // Map from platform kind to computation placer singleton.
  /external/tensorflow/tensorflow/core/common_runtime/
graph_execution_state.cc 25 #include "tensorflow/core/common_runtime/placer.h"
268 Placer placer(new_graph.get(), device_set_, session_options_);
269 // TODO(mrry): Consider making the Placer cancelable.
270 TF_RETURN_IF_ERROR(placer.Run());
placer_test.cc 16 #include "tensorflow/core/common_runtime/placer.h"
48 // The Placer uses information about the op (input types),
171 // 2. Attempt to compute a placement using the Placer.
205 // Invokes the Placer on "graph". If no DeviceSet is specified, the
210 Placer placer(graph, devices, options);
211 return placer.Run();
236 Placer::NodeNameToIdMap nodes_by_name_;
    [all...]

Completed in 234 milliseconds