Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for allow_soft_placement (0.23 sec)

  1. tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc

      import_config.enable_shape_inference = false;
      import_config.xla_compile_device_type =
          function_options.xla_compile_device_type;
      import_config.enable_soft_placement = function_options.allow_soft_placement;
    
      static const char* kTfMlirCategory = "TfMlir";
      tensorflow::metrics::ScopedCounter<2> timings(
          tensorflow::metrics::GetGraphOptimizationCounter(),
          {kTfMlirCategory, "convert_graph_to_mlir"});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

    unified attributes. For example, `_tpu_replicate="cluster"` in the
    following code
    
    ```mlir
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/hoist_invariant_ops.mlir

    // CHECK-NEXT: return
    
    // CHECK-LABEL: func private @func2
    func.func private @func2(%arg: tensor<i1>) -> tensor<i32> {
      // CHECK-NOT: tf._TfrtGetResource
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 01 23:54:14 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tpu_cluster_formation.mlir

      // CHECK-NEXT:   "tf.NoOp"
      // CHECK-NEXT:   tf_device.return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc

      AddRewrittenEmbeddingOps(module.getContext(), &supported_ops);
      AddRewrittenCompositeOps(module.getContext(), &supported_ops);
    
      auto result = module.walk([&](mlir::tf_device::ClusterOp cluster) {
        // Only if `allow_soft_placement` attribute is true should we mark ops
        // for outside compilation.
        auto soft_placement_attr =
            cluster->getAttrOfType<BoolAttr>(mlir::TF::kAllowSoftPlacementAttr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

        unified attributes. For example, `_tpu_replicate="cluster"` 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)
  7. tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir

          tf_device.return %1 : tensor<?x!tf_type.string>
        }, {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 172.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/extract_outside_compilation.mlir

          }, {
            "tf.Yield"() : () -> ()
          }) {is_stateless = false} : (tensor<i1>) -> ()
          tf_device.return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 129.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/side-effect-analysis-test.mlir

        // expected-remark@above {{ID: 2}}
        tf_device.return %2#0, %2#1 : tensor<i32>, tensor<i32>
        // expected-remark@above {{ID: 3}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 04:39:18 UTC 2023
    - 129.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

          attrs.push_back(
              b.getNamedAttr("_xla_compile_device_type",
                             b.getStringAttr(specs.xla_compile_device_type)));
        }
        attrs.push_back(b.getNamedAttr("allow_soft_placement",
                                       b.getBoolAttr(specs.enable_soft_placement)));
      } else {
        // Collects the argument and return nodes by looking up the node names
        // specified by the user.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top