Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 60 for compilation_result_ (0.42 sec)

  1. tensorflow/compiler/jit/pjrt_device_compiler_client.h

          : client_(client) {}
    
      absl::StatusOr<std::unique_ptr<xla::PjRtLoadedExecutable>> BuildExecutable(
          const XlaCompiler::Options& options,
          const XlaCompiler::CompilationResult& result) override;
    
      // Returns a platform-specific serialization of `executable`. The
      // serialization is not guaranteed to be stable over time. `executable` must
      // have been produced by this client.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_device_compiler_client.h

          const XlaCompiler::Options& options,
          const XlaCompiler::CompilationResult& result) override;
    
      // Loads a serialized AOT result (`serialized_executable`) into an
      // xla::LocalExecutable and returns it.
      absl::StatusOr<std::unique_ptr<xla::LocalExecutable>> LoadExecutable(
          const XlaCompiler::Options& options,
          const XlaCompiler::CompilationResult& result,
          const std::string& serialized_executable) override;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/authentication/cel/interface.go

    // ExpressionAccessor is an interface that provides access to a CEL expression.
    type ExpressionAccessor interface {
    	GetExpression() string
    	ReturnTypes() []*celgo.Type
    }
    
    // CompilationResult represents a compiled validations expression.
    type CompilationResult struct {
    	Program            celgo.Program
    	AST                *celgo.Ast
    	ExpressionAccessor ExpressionAccessor
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/authorization/cel/compile.go

    	apiservercel "k8s.io/apiserver/pkg/cel"
    	"k8s.io/apiserver/pkg/cel/environment"
    )
    
    const (
    	subjectAccessReviewRequestVarName = "request"
    )
    
    // CompilationResult represents a compiled authorization cel expression.
    type CompilationResult struct {
    	Program            cel.Program
    	ExpressionAccessor ExpressionAccessor
    }
    
    // EvaluationResult contains the minimal required fields and metadata of a cel evaluation
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 02 20:56:52 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition.go

    func NewCompositedCompilerFromTemplate(context *CompositionEnv) *CompositedCompiler {
    	context = &CompositionEnv{
    		MapType:           context.MapType,
    		EnvSet:            context.EnvSet,
    		CompiledVariables: map[string]CompilationResult{},
    	}
    	compiler := NewCompiler(context.EnvSet)
    	filterCompiler := NewFilterCompiler(context.EnvSet)
    	return &CompositedCompiler{
    		Compiler:       compiler,
    		FilterCompiler: filterCompiler,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 13 21:06:39 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_compile_on_demand_op.h

                         pjrt_device_compiler,
                     DeviceCompilationProfiler** profiler,
                     const XlaCompiler::CompilationResult** result,
                     xla::PjRtLoadedExecutable** executable);
    
      Status Run(const ResourceVarsSnapshot& variable_args,
                 const XlaCompiler::CompilationResult* result,
                 const DeviceCompiler<xla::LocalExecutable, xla::LocalClient>*
                     xla_device_compiler,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_device_compiler_client.cc

      }
      return shape_ptrs;
    }
    }  // namespace
    
    absl::StatusOr<std::unique_ptr<xla::LocalExecutable>>
    XlaDeviceCompilerClient::BuildExecutable(
        const XlaCompiler::Options& options,
        const XlaCompiler::CompilationResult& result) {
      VLOG(2) << "Compiling to xla::LocalExecutable.";
    
      std::vector<const xla::Shape*> argument_layouts =
          GetShapePointers(result.xla_input_shapes);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/mlir_pass_instrumentation_test.cc

      auto compilation_result = tensorflow::XlaCompilationResult();
    
      TF_EXPECT_OK(tensorflow::CompileSerializedMlirToXlaHlo(
                       legalization, arg_shapes, /*device_type=*/"XLA_TPU_JIT",
                       /*use_tuple_args=*/true, /*enable_op_fallback=*/false,
                       /*shape_determination_fns=*/{}, &compilation_result)
                       .status());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 19 22:54:26 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/xla_launch_util_test.cc

      // XlaCompiler::CompilationResult that was used to build the executable.
      absl::StatusOr<std::vector<std::unique_ptr<xla::PjRtBuffer>>> RunExecutable(
          const std::vector<const Tensor*>& inputs,
          const std::vector<VariableInfo>& variables,
          const XlaCompiler::CompilationResult* result,
          xla::PjRtLoadedExecutable* executable) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/dynamicresources/structured/namedresources/namedresourcesmodel.go

    		}
    		c.requests = append(c.requests, compilation)
    	}
    	return c, nil
    }
    
    type Controller struct {
    	filter   *cel.CompilationResult
    	requests []cel.CompilationResult
    }
    
    func (c *Controller) NodeIsSuitable(ctx context.Context, model Model) (bool, error) {
    	indices, err := c.allocate(ctx, model)
    	return len(indices) == len(c.requests), err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:26:16 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top