Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 783 for variable1 (0.15 sec)

  1. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/variable.mlir

      // CHECK: "tfl.pseudo_const"() <{value = dense<0> : tensor<3x2xi32>}> {tfl.is_variable} : () -> tensor<3x2xi32>
      %0 = "tfl.pseudo_const"() {value = dense<0> : tensor<3x2xi32>, tfl.is_variable} : () -> tensor<3x2xi32> loc("variable")
      func.return %0 : tensor<3x2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 470 bytes
    - Viewed (0)
  2. manifests/addons/dashboards/lib/variables.libsonnet

    local g = import './g.libsonnet';
    local var = g.dashboard.variable;
    
    {
      datasource:
        var.datasource.new('datasource', 'prometheus'),
    
      cluster:
        var.query.new('cluster')
        + var.query.withDatasourceFromVariable(self.datasource)
        + var.query.queryTypes.withLabelValues(
          'cluster',
          'process_cpu_seconds_total',
        )
        + var.query.withRefresh('time')
        + var.query.selectionOptions.withMulti()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/readonly_references_to_resources.cc

    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
    
    // A pass that converts readonly reference variables to the corresponding
    // resource variables.
    //
    // It converts (VariableV2 -> Identity) to (VarHandle -> ReadVariable).
    //
    // For the background, this pass is a part of hoisting VariableV2 ops by
    // re-using the pipeline for hoisting (VarHandle -> ReadVariable) cases, which
    //  can be done by the following passes:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/quantize-variables.mlir

    // RUN: tf-opt %s -tfl-quantize-variables | FileCheck %s
    // RUN: tf-opt %s -tfl-prepare-quantize -tfl-quantize -tfl-post-quantize -tfl-quantize-variables -tfl-quantize -tfl-post-quantize | FileCheck --check-prefix=WHOLE-PASSES %s
    
    // CHECK-LABEL: QuantizeReadVariable
    func.func @QuantizeReadVariable() -> (tensor<1x2x1x3x!quant.uniform<i8:f32, 1.0>>) {
      %1 = "tfl.var_handle"() : () -> tensor<!tf_type.resource>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/legalize-tf-variables.mlir

    // RUN: tf-opt %s -split-input-file -tfl-legalize-variables-tf --cse | FileCheck %s
    
    // Test for case with no session initialize op.
    module attributes {tf_saved_model.semantics} {
      // CHECK-LABEL: serving_default
      func.func @serving_default(%arg0: tensor<1x10xf32> {tf_saved_model.index_path = ["x"]}) ->
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition_test.go

    		},
    		{
    			name: "single boolean variable in expression",
    			variables: []NamedExpressionAccessor{
    				&testVariable{
    					name:       "fortuneTelling",
    					expression: "true",
    				},
    			},
    			attributes:     endpointCreateAttributes(),
    			expression:     "variables.fortuneTelling",
    			expectedResult: true,
    		},
    		{
    			name: "variable of a list",
    			variables: []NamedExpressionAccessor{
    				&testVariable{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_launch_util.cc

          // Handles resource variables.
          TF_RET_CHECK(input->dtype() == DT_RESOURCE);
          const VariableInfo& variable = *variable_info_lookup[input_num];
          arg.name = std::string(variable.name());
          arg.kind = XlaCompiler::Argument::kResource;
          arg.resource_kind = XlaResource::kVariable;
          arg.definition_stack_trace = variable.definition_stack_trace();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/EnvVariableInjection.groovy

            return new EnvVariableInjection() {
                @Override
                String getDescription() {
                    return "using environment variable"
                }
    
                @Override
                void setup(AbstractConfigurationCacheIntegrationTest test) {
                    test.executer.withEnvironmentVars(variables)
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/interface.go

    }
    
    // OptionalVariableDeclarations declares which optional CEL variables
    // are declared for an expression.
    type OptionalVariableDeclarations struct {
    	// HasParams specifies if the "params" variable is declared.
    	// The "params" variable may still be bound to "null" when declared.
    	HasParams bool
    	// HasAuthorizer specifies if the "authorizer" and "authorizer.requestResource"
    	// variables are declared. When declared, the authorizer variables are
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/lazy/lazy_test.go

    	variablesMap.Append("unused", func(_ *MapValue) ref.Val {
    		t.Fatalf("unused variable must not be evaluated")
    		return nil
    	})
    
    	exp = "variables.dict.a + ' ' + variables.dict.a + ' ' + variables.foo"
    	v, err = compileAndRun(env, activation, exp)
    	if err != nil {
    		t.Fatalf("%q: %v", exp, err)
    	}
    	if v.Value().(string) != "a a foo-string" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top