Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for _XlaRun (0.46 sec)

  1. tensorflow/compiler/jit/build_xla_ops_pass_test.cc

      TF_ASSERT_OK(BuildXlaOps(root, fdef_lib, &graph));
    
      Node* write_op_new = FindNodeByName(graph.get(), write_op->name());
      ASSERT_NE(write_op_new, nullptr);
      EXPECT_THAT(write_op_new, NodeWith(CtrlDeps(NodeWith(Op("_XlaRun")))));
    }
    
    TEST_F(BuildXlaOpsTest, CleanFailureOnBogusAttr) {
      Scope root = Scope::NewRootScope().ExitOnError();
    
      FunctionDefLibrary fdef_lib =
          CreateFunctionDefLibWithConstFunction("cluster_0");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/variable_info.h

      VariableInfo(const VariableInfo&) = delete;
      VariableInfo& operator=(const VariableInfo&) = delete;
    
      // The index of the DT_RESOURCE input to the _XlaCompile/_XlaRun operator.
      // Note that the indices can be different between _XlaCompile and _XlaRun.
      int index() const { return index_; }
    
      // A pointer to the resource variable.  May be null if this VariableInfo is
      // "empty", i.e. it does not track a resource variable.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 14 21:57:02 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/ops/xla_ops.cc

       `compilation_successful` is always true.
    )");
    
    REGISTER_OP("_XlaRun")
        .Input("args: Targs")
        .Attr("Targs: list(type) >= 0")
        .Output("results: Tresults")
        .Attr("Tresults: list(type) >= 0")
        .Input("key: string")
        // XLA random-number generation ops are stateful.
        // TODO(phawkins): create stateful and non-stateful variants of _XlaRun.
        .SetIsStateful()
        .Doc(R"(XLA Run Op. For use by the XLA JIT only.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 09:08:06 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_side_effects.h

        : public ::mlir::SideEffects::Resource::Base<WriteTrainingPredictions> {
      StringRef getName() final { return "WriteTrainingPredictions"; }
    };
    
    struct _XlaRun : public ::mlir::SideEffects::Resource::Base<_XlaRun> {
      StringRef getName() final { return "_XlaRun"; }
    };
    
    // Returns true iff resource type with given ID is only self-dependent, i.e.,
    // there are no dependencies to other resource types (including unknown resource
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 26 18:45:40 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_platform_info.h

     private:
      DeviceType device_type_;
      se::Platform::Id platform_id_;
    
      // xla_device_metadata_ lives in the tensorflow::DeviceBase in which the
      // XlaLaunch/_XlaCompile/_XlaRun op is placed and thus does not die before the
      // XlaLaunch/_XlaCompile/_XlaRun OpKernel.
      const XlaDevice::Metadata* xla_device_metadata_;
    
      // pjrt_device_metadata_ lives in tensorflow::PjRtBaseDevice in which the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/build_xla_ops_pass.h

    #include "tensorflow/core/common_runtime/optimization_registry.h"
    #include "tensorflow/core/lib/core/status.h"
    
    namespace tensorflow {
    
    // Replaces TF function calls marked with `_XlaCompiledKernel` with _XlaCompile
    // and _XlaRun nodes (which compile and launch, respectively, the corresponding
    // HLO module).
    class BuildXlaOpsPass : public GraphOptimizationPass {
     public:
      // If enable_lazy_compilation is not nullopt then *enable_lazy_compilation
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 03 16:15:20 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/build_xla_ops_pass.cc

        //   xla_run_outputs = _XlaRun(..., key=use_xla_run)
        //   outputs = Merge(tf_call_outputs, xla_run_outputs).
        ops::Switch s(root.WithOpName("predicated_compilation_key"),
                      xla_compile.key, xla_compile.compilation_successful);
        Output predicated_compilation_key = s.output_true;
        Output inverse_predicated_compilation_key = s.output_false;
    
        ops::_XlaRun xla_run(root.WithOpName("xla_run"), xla_run_args,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_device_ops.h

                                  .HostMemory("resources"),             \
                              KERNEL);
    
    #define REGISTER_XLA_RUN_KERNEL(DEVICE, KERNEL, TYPES) \
      REGISTER_KERNEL_BUILDER(Name("_XlaRun").Device(DEVICE), KERNEL);
    
    #define REGISTER_XLA_DEVICE_KERNELS(DEVICE, TYPES)                             \
      REGISTER_KERNEL_BUILDER(                                                     \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 23 19:28:25 UTC 2021
    - 17.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/kernels/xla_ops.cc

                            XlaCompileOp);
    
    REGISTER_KERNEL_BUILDER(Name("_XlaRun").Device(DEVICE_CPU), XlaRunOp);
    REGISTER_KERNEL_BUILDER(Name("_XlaRun").Device(DEVICE_GPU).HostMemory("key"),
                            XlaRunOp);
    REGISTER_KERNEL_BUILDER(
        Name("_XlaRun").Device(DEVICE_DEFAULT).HostMemory("key"), XlaRunOp);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td

    def TF_NcclAllReduceOrderingResource : TF_ResourceBase<"NcclAllReduceOrdering">;
    def TF_GlobalIterIdResource : TF_ResourceBase<"GlobalIterId">;
    def TF__XlaRunResource : TF_ResourceBase<"_XlaRun">;
    // Fake resource, see `TF_MustExecute` below.
    def TF_MustExecuteResource : TF_ResourceBase<"MustExecute">;
    
    // Value-based side effects
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 30.5K bytes
    - Viewed (0)
Back to top