Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for compilation_result_ (0.38 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.h

        std::vector<tpu::ShardingAndIndex>* arg_core_mapping,
        std::vector<std::vector<xla::Shape>>* per_core_arg_shapes,
        xla::CompileOnlyClient* client,
        XlaCompiler::CompilationResult* compilation_result);
    
    }  // namespace v1
    }  // namespace tf2xla
    };  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 2.1K 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/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)
  10. 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)
Back to top