Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for _XlaMustCompile (0.14 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.cc

        for (const Node* node : graph.nodes()) {
          auto node_op = node->type_string();
          if (node_op == kStatefulPartitionedCallOp) {
            // Functions called by StatefulfulPartitionedCall ops with
            // _XlaMustCompile=true are compiled by XLA.
            auto attr = node->attrs().FindByString(std::string(kMustCompileAttr));
            if (attr != nullptr && attr->b() == true) {
              return true;
            }
          }
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 12:22:33 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc

        if (isa<TPUPartitionedCallOp>(call)) return false;
        if (isa<RemoteCallOp>(call)) return false;
        // Maintain inlining for  `tf.function`s with jit_compile option.
        if (callable->hasAttr("tf._XlaMustCompile")) return true;
        auto noinline_attr_name = absl::StrCat("tf.", tensorflow::kNoInlineAttr);
        if (auto noinline_attr =
                callable->getAttrOfType<BoolAttr>(noinline_attr_name))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/mlrt/tf_to_mlrt.mlir

      return %x : tensor<i32>
    }
    
    // -----
    
    // Test for XlaLaunch
    
    func.func private @xla_func_0(%arg0: tensor<1x3xf32>, %arg1: tensor<1x3xf32>) -> tensor<1x3xf32> attributes {tf._XlaMustCompile = true, tf._noinline = true, tf._original_func_name = "should_not_be_used"} {
      %1 = "tf.AddV2"(%arg0, %arg1) {__op_key = 0: i32} : (tensor<1x3xf32>, tensor<1x3xf32>) -> tensor<1x3xf32>
      func.return %1 : tensor<1x3xf32>
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

          // tf.StatefulPartitionedCall ops with and without
          // _tpu_replicate attributes may exist in the same graph. Ops without
          // the attribute but with _XlaMustCompile=true would have
          // _xla_compile_device_type="" after
          // CanonicalizeCompileAndReplicateAttributesPass. Skip empty value here.
          if (!device_type_attr.getValue().empty()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

        ```
    
        `_XlaMustCompile=true` in the following code
    
        ```mlir
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
Back to top