Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for compilation_result_ (0.42 sec)

  1. tensorflow/compiler/jit/kernels/xla_ops.cc

      explicit ExecutableClosure(
          ClientType* client, ExecutableType* executable,
          const XlaCompiler::CompilationResult* compilation_result,
          ResourceVarsSnapshot resource_var_snapshots, int num_constant_args)
          : client_(client),
            executable_(executable),
            compilation_result_(compilation_result),
            resource_var_snapshots_(std::move(resource_var_snapshots)),
            num_constant_args_(num_constant_args) {}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/device_compilation_cache_test.cc

      auto compilation_result2 = std::make_unique<XlaCompiler::CompilationResult>();
      auto executable1 = std::make_unique<FakeExecutable>("foo_exe");
      auto executable2 = std::make_unique<FakeExecutable>("bar_exe");
      cache->Store(key1, DeviceCompileState::kCompiled,
                   errors::InvalidArgument("Invalid argument."),
                   std::move(compilation_result1), std::move(executable1));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/device_compiler_test.cc

      const XlaCompiler::CompilationResult* compilation_result_2 = nullptr;
      xla::LocalExecutable* xla_executable_2 = nullptr;
      TF_EXPECT_OK(xla_device_compiler_2->CompileIfNeeded(
          options, fn, args, XlaCompiler::CompileOptions{},
          DeviceCompileMode::kStrict, profiler, &compilation_result_2,
          &xla_executable_2));
    
      EXPECT_TRUE(compilation_result_2 != 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)
  4. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go

    			continue
    		}
    		seenExpressions.Insert(condition.Expression)
    		compilationResult, err := compileMatchConditionsExpression(fldPath, compiler, condition.Expression)
    		if err != nil {
    			allErrs = append(allErrs, err)
    			continue
    		}
    		compilationResults = append(compilationResults, compilationResult)
    	}
    	if len(compilationResults) == 0 {
    		return nil, allErrs
    	}
    	return &authorizationcel.CELMatcher{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. staging/src/k8s.io/apiserver/pkg/authorization/cel/matcher.go

    	va := map[string]interface{}{
    		"request": convertObjectToUnstructured(&r.Spec),
    	}
    	for _, compilationResult := range c.CompilationResults {
    		evalResult, _, err := compilationResult.Program.ContextEval(ctx, va)
    		if err != nil {
    			evalErrors = append(evalErrors, fmt.Errorf("cel evaluation error: expression '%v' resulted in error: %w", compilationResult.ExpressionAccessor.GetExpression(), err))
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 22:41:27 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. 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)
  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/tf2xla/internal/legalize_tf_mlir.h

    // in the compilation_result.
    absl::StatusOr<std::string> CompileFromMlirToXlaHlo(
        bool lower_to_xla_hlo, const tpu::MlirToHloArgs& computation,
        const tpu::TPUCompileMetadataProto& metadata, llvm::StringRef device_type,
        const XlaShapeLayoutHelpers::ShapeDeterminationFns& shape_determination_fns,
        bool use_tuple_args, XlaCompiler::CompilationResult* compilation_result,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top