Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for compilation_result (0.26 sec)

  1. tensorflow/compiler/jit/device_compiler_test.cc

      const XlaCompiler::CompilationResult* compilation_result = nullptr;
      xla::LocalExecutable* xla_executable = nullptr;
    
      TF_EXPECT_OK(xla_device_compiler->CompileIfNeeded(
          options, fn, args, XlaCompiler::CompileOptions{},
          DeviceCompileMode::kStrict, profiler_, &compilation_result,
          &xla_executable));
    
      EXPECT_TRUE(compilation_result != nullptr);
      EXPECT_TRUE(xla_executable != nullptr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/kernels/xla_ops.cc

    }
    
    void RunInThreadPoolIfCollectivesPresent(
        const XlaCompiler::CompilationResult& compilation_result,
        std::function<void()> execution_fn) {
      // If we are using collectives, we need to run in a separate threadpool.
      if (compilation_result.collective_info.has_value()) {
        GetOrCreateThreadPoolForCollective(*compilation_result.collective_info)
            ->Schedule(execution_fn);
      } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_launch_util.cc

        OpKernelContext* ctx,
        const XlaCompiler::CompilationResult& compilation_result,
        int missing_ctx_input_prefix) {
      std::vector<VariableInfo> out;
      out.reserve(compilation_result.resource_updates.size());
      for (int i = 0; i < compilation_result.resource_updates.size(); ++i) {
        const XlaCompiler::ResourceUpdate& write =
            compilation_result.resource_updates[i];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_launch_util.h

        const XlaCompiler::CompilationResult* compilation_result, int output_num);
    
    // Converts input tensors and variables which are parameters of the
    // XlaComputation into PjRtBuffers to be fed as input to the
    // PjRtLoadedExecutable.
    //
    // Assumes that the first `num_missing_prefix_ctx_inputs` inputs to the
    // compilation_result are missing in `inputs` and adjusts indexing into `inputs`
    // accordingly.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

            return %cst : tensor<2xi32>
        }
      })";
    
      auto compilation_result = CompileMlirModule(
          kHasReturnValuesAndNoMetadataRetvals,
          ConfigProto::Experimental::MLIR_BRIDGE_ROLLOUT_UNSPECIFIED);
      EXPECT_TRUE(compilation_result.ok());
    
      // Ensure that the compilation result contains a constant.
      EXPECT_THAT(compilation_result,
                  ComputationProtoContains("opcode:.*constant"));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph_test.cc

            return %0 : tensor<32x64xf32>
        }
      })";
    
      auto compilation_result =
          CompileWithComputation(CreateTestMlirToHloArgs(kHasReturnValues));
      EXPECT_TRUE(compilation_result.ok());
    
      // The StatelessRandomNormal must not be replaced by a literal tensor.
      EXPECT_THAT(compilation_result,
                  ComputationProtoContains("tf.StatelessRandomNormal"));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc

      GuaranteedConsts consts;
    
      *compilation_result = {};
    
      TF_RETURN_IF_ERROR(CompileTFFunctionToHlo(
          *flib_def, versions.producer(), shape_determination_funcs, arg_shapes,
          consts, func, metadata, client, arg_core_mapping, per_core_arg_shapes,
          use_tuple_args, compilation_result));
    
      return PopulateInputOutputAliasing(main_fn, compilation_result,
                                         use_tuple_args);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h

        const XlaShapeLayoutHelpers::ShapeDeterminationFns shape_determination_fns,
        XlaCompilationResult* compilation_result);
    
    // Runs MLIR Bridge on a MLIR module.
    //
    // If lower_to_xla_hlo is true then compiles down into XLA HLO, generates all
    // accompanying metadata and stores them in CompilationResult.
    //
    // If enable_op_fallback is set to false, graph is legalized only if the graph
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/device_executable_persistor.h

        uint64 signature_hash, const XlaCompiler::Options& options,
        const XlaCompiler::CompilationResult& compilation_result,
        const ExecutableType& executable,
        DeviceCompilerClient<ExecutableType, ClientType>* compiler_client) const {
      XlaSerializedCacheEntry serialized_entry;
      const xla::HloModuleProto& hlo_module =
          compilation_result.computation->proto();
      *serialized_entry.mutable_key() =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc

    namespace {
    
    mlir::LogicalResult PrintHloModuleText(
        const XlaCompilationResult& compilation_result, llvm::raw_ostream& output) {
      const xla::HloModuleConfig module_config(
          compilation_result.computation->GetProgramShape().value());
      auto status_or_hlo_module = xla::HloModule::CreateFromProto(
          compilation_result.computation->proto(), module_config);
      if (!status_or_hlo_module.ok()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.8K bytes
    - Viewed (0)
Back to top