Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 60 for compilation_result_ (0.24 sec)

  1. tensorflow/compiler/jit/device_compiler_disable_test.cc

      }
    
      DisableXlaCompilation();
    
      xla::LocalClient* client = xla::ClientLibrary::LocalClientOrDie();
      DeviceType device_type = DeviceType(DEVICE_CPU_XLA_JIT);
    
      const XlaCompiler::CompilationResult* compilation_result;
      xla::LocalExecutable* executable;
    
      using XlaDeviceExecutablePersistor =
          DeviceExecutablePersistor<xla::LocalExecutable, xla::LocalClient>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_mlir_test.cc

      std::vector<std::unique_ptr<mlir::Pass>> custom_legalization_passes;
    
      auto compilation_result = std::make_unique<XlaCompilationResult>();
    
      return CompileFromMlirToXlaHlo(
          compile_to_xla_hlo, mlir_to_hlo_args, metadata_proto,
          /*device_type=*/"XLA_TPU_JIT",
          /*shape_determination_fns=*/{}, use_tuple_args, compilation_result.get(),
          custom_legalization_passes, arg_shapes, &arg_core_mapping,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_mlir.cc

          shape_determination_fns, use_tuple_args, compilation_result,
          custom_legalization_passes, arg_shapes, arg_core_mapping,
          per_core_arg_shapes);
    
      if (mlir_bridge_status.ok()) {
        VLOG(1) << "Successfully compiled MLIR computation to XLA HLO using MLIR "
                   "tf2xla bridge";
        return *compilation_result;
      }
    
      tsl::error_logging::Log(kBridgeComponent,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go

    				t.Fatalf("unexpected nil validator")
    			}
    			validations := tc.validation
    			CompilationResults := e.(*filter).compilationResults
    			require.Equal(t, len(validations), len(CompilationResults))
    
    			meets := make([]bool, len(validations))
    			for expr, expectErr := range tc.errorExpressions {
    				for i, result := range CompilationResults {
    					if validations[i].GetExpression() == expr {
    						if result.Error == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo_test.cc

      bool use_tuple_args = true;
      std::vector<ShardingAndIndex> arg_core_mapping;
      std::vector<std::vector<xla::Shape>> per_core_arg_shapes;
      std::vector<std::unique_ptr<mlir::Pass>> custom_legalization_passes;
      auto compilation_result = std::make_unique<XlaCompilationResult>();
    
      return LegalizeTfToHlo(mlir_to_hlo_args, metadata_proto, use_tuple_args,
                             /*device_type=*/"XLA_TPU_JIT",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go

    			if tt.unmodified {
    				loader = StoredExpressionsEnvLoader()
    			}
    			compilationResults, err := Compile(&tt.input, model.SchemaDeclType(&tt.input, false), celconfig.PerCallLimit, env, loader)
    			if err != nil {
    				t.Fatalf("Expected no error, but got: %v", err)
    			}
    
    			if len(compilationResults) != len(tt.input.XValidations) {
    				t.Fatalf("compilation did not produce one result per rule")
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/device_compiler.h

            DeviceCompilationClusterSignature::Hash()(sig), sig.HumanString(),
            options, *out_compilation_result, *out_executable,
            compiler_client_.get()));
      }
    
      cache_value.compilation_result = out_compilation_result.get();
      cache_value.executable = out_executable.get();
      cache_->Store(sig, cache_value.compile_state, cache_value.compilation_status,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top