- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for HasOutsideCompilationAttribute (0.32 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tpu_host_computation_expansion.cc
auto users = head_outside_compiled_op->getUsers(); if (users.empty() || HasOutsideCompilationAttribute(head_outside_compiled_op)) continue; bool should_expand_op_to_host_computation = true; for (auto consumer_op : users) { if (should_expand_op_to_host_computation && !HasOutsideCompilationAttribute(consumer_op)) { should_expand_op_to_host_computation = false; continue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/extract_head_tail_outside_compilation.cc
// Return true if `op` has attributes that say it can be outside compiled by // this pass. This pass ignores _xla_map_outside_compilation, which will only be // handled by extract_outside_compilation pass. bool HasOutsideCompilationAttribute(Operation* op) { return op->getAttrOfType<StringAttr>(kXlaOutsideCompilationAttr) != nullptr && !op->hasAttrOfType<BoolAttr>(kXlaMapOutsideCompilationAttr); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 20.6K bytes - Viewed (0)