Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 47 for compilation_result_ (0.35 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

          compilation_results;
      auto result_init = getOperation().walk([&](TF::TPUCompilationResultOp op) {
        auto cluster_id = op->getAttrOfType<StringAttr>("_tpu_compilation_status");
        if (!cluster_id) {
          op->emitOpError("missing '_tpu_compilation_status'");
          return WalkResult::interrupt();
        }
        compilation_results[cluster_id].push_back(op);
        return WalkResult::advance();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf.cc

            arg_shapes, arg_core_mapping, per_core_arg_shapes, client,
            compilation_result.get()));
    
        DumpHloCompilationResult("legalize_tf_fallback.hlo",
                                 compilation_result.get())
            .IgnoreError();
        return *compilation_result;
      }
    
      auto combined_bridge_status = internal::LegalizeTfToHlo(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 00:40:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation.go

    		return
    	}
    	compilationResult.MaxCost = costEst.Max
    	compilationResult.MaxCardinality = maxCardinality
    	compilationResult.Program = prog
    	if rule.MessageExpression != "" {
    		messageEnv := envLoader.MessageExpressionEnv(envSet, rule.MessageExpression)
    		ast, issues := messageEnv.Compile(rule.MessageExpression)
    		if issues != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util_test.cc

      std::vector<tensorflow::TensorShape> arg_shapes;
      XlaCompilationResult compilation_result;
      auto status = CompileSerializedMlirToXlaHlo(
          kMlirModuleStr, arg_shapes, /*device_type=*/"XLA_TPU_JIT",
          /*use_tuple_args=*/true, /*enable_op_fallback=*/false,
          /*shape_determination_fns=*/{}, &compilation_result);
    
      EXPECT_TRUE(status.ok());
      EXPECT_THAT(status.value(), HasSubstr("mhlo.const"));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 19:54:38 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo.cc

          per_core_arg_shapes, client, compilation_result);
    
      if (!old_bridge_status.ok()) {
        IncrementTfMlirBridgeSecondPhaseCounter(
            MlirBridgeSecondPhaseMetric::kMlirCombinedOldFailure);
        return old_bridge_status;
      }
      IncrementTfMlirBridgeSecondPhaseCounter(
          MlirBridgeSecondPhaseMetric::kMlirCombinedOldSuccess);
    
      return *compilation_result;
    }
    
    };  // namespace internal
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/pjrt_device_compiler_client.cc

    #include <memory>
    #include <string>
    #include <utility>
    
    namespace tensorflow {
    
    xla::CompileOptions GetPjRtCompileOptions(
        const XlaCompiler::Options& options,
        const XlaCompiler::CompilationResult& result) {
      xla::CompileOptions pjrt_compile_options;
      pjrt_compile_options.argument_layouts = result.xla_input_shapes;
      pjrt_compile_options.executable_build_options =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/device_compiler_client.h

          const XlaCompiler::Options& options,
          const XlaCompiler::CompilationResult& result) = 0;
    
      // Loads `serialized_executable` into an `ExecutableType` using `ClientType`.
      virtual StatusOr<std::unique_ptr<ExecutableType>> LoadExecutable(
          const XlaCompiler::Options& options,
          const XlaCompiler::CompilationResult& result,
          const std::string& serialized_executable) = 0;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

                                           &compilation_result->xla_input_shapes));
    
      // Compute all output descriptions and resource writes
      return GetOutputInfo(
          module_op, use_resource_updates_for_aliases, shape_determination_fns,
          &compilation_result->xla_output_shape, &compilation_result->outputs,
          &compilation_result->resource_updates);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
Back to top