Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 47 for compilation_result_ (0.4 sec)

  1. staging/src/k8s.io/apiserver/pkg/authentication/cel/compile.go

    }
    
    func (c compiler) compile(expressionAccessor ExpressionAccessor, envVarName string) (CompilationResult, error) {
    	resultError := func(errorString string, errType apiservercel.ErrorType) (CompilationResult, error) {
    		return CompilationResult{}, &apiservercel.Error{
    			Type:   errType,
    			Detail: errorString,
    		}
    	}
    
    	env, err := c.varEnvs[envVarName].Env(environment.StoredExpressions)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile.go

    func (c compiler) CompileCELExpression(expressionAccessor ExpressionAccessor, options OptionalVariableDeclarations, envType environment.Type) CompilationResult {
    	resultError := func(errorString string, errType apiservercel.ErrorType) CompilationResult {
    		return CompilationResult{
    			Error: &apiservercel.Error{
    				Type:   errType,
    				Detail: errorString,
    			},
    			ExpressionAccessor: expressionAccessor,
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  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/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)
  9. 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)
  10. tensorflow/compiler/jit/xla_compile_on_demand_op.cc

      return absl::OkStatus();
    }
    }  // namespace
    
    Status XlaCompileOnDemandOp::Run(const ResourceVarsSnapshot& variable_args,
                                     const XlaCompiler::CompilationResult* result,
                                     const XlaDeviceCompiler* xla_device_compiler,
                                     xla::LocalExecutable* executable,
                                     OpKernelContext* ctx) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top