Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for var2 (0.03 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/fake_session.cc

      // Create 2 resources and initialize them with dummy values.
      TF_CHECK_OK(device->resource_manager()->Create(
          container, "var1", new tensorflow::Var(tensorflow::DataType::DT_FLOAT)));
      TF_CHECK_OK(device->resource_manager()->Create(
          container, "var2", new tensorflow::Var(tensorflow::DataType::DT_FLOAT)));
    }
    
    Status FakeSession::Create(const tensorflow::GraphDef& graph) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. src/text/scanner/example_test.go

    	for tok := s.Scan(); tok != scanner.EOF; tok = s.Scan() {
    		fmt.Printf("%s: %s\n", s.Position, s.TokenText())
    	}
    
    	// Output:
    	// default:1:1: %
    	// default:1:2: var1
    	// default:1:7: var2
    	// default:1:11: %
    	//
    	// percent:1:1: %var1
    	// percent:1:7: var2
    	// percent:1:11: %
    }
    
    func Example_mode() {
    	const src = `
        // Comment begins at column 5.
    
    This line should not be included in the output.
    
    /*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 10 02:01:58 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/model/internal/type/TypeVariableTypeWrapper.java

            if (!(o instanceof TypeVariableTypeWrapper)) {
                return false;
            } else {
                TypeVariableTypeWrapper var2 = (TypeVariableTypeWrapper) o;
                return Objects.equal(this.getName(), var2.getName())
                    && Arrays.equals(this.bounds, var2.bounds);
            }
        }
    
        @Override
        public int hashCode() {
            return hashCode;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 11 21:42:04 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_mark_initialized_variables.mlir

        func.return %4 : tensor<100x50xf32>
      }
      // CHECK: "tf.VarHandleOp"
      // CHECK-SAME: shared_name = "var1"
      // CHECK-SAME: _is_initialized = true
      // CHECK: "tf.VarHandleOp"
      // CHECK-SAME: shared_name = "var2"
      // CHECK-SAME: _is_initialized = true
      // CHECK: "tf.VarHandleOp"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/model/internal/type/WildcardTypeWrapper.java

            if (!(o instanceof WildcardTypeWrapper)) {
                return false;
            } else {
                WildcardTypeWrapper var2 = (WildcardTypeWrapper) o;
                return Arrays.equals(this.lowerBounds, var2.lowerBounds) && Arrays.equals(this.upperBounds, var2.upperBounds);
            }
        }
    
        @Override
        public int hashCode() {
            return hashCode;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 11 21:42:04 UTC 2018
    - 3.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_asset_sinking.mlir

        // CHECK: %[[VAR0:.*]] = "tf.VarHandleOp"()
        %0 = "tf.VarHandleOp"() {container = "", shared_name = "var0"} : () -> tensor<!tf_type.resource<tensor<!tf_type.string>>>
    
        // CHECK: "tf.AssignVariableOp"(%[[VAR0]], %[[ASSET0]])
        "tf.AssignVariableOp"(%0, %arg0) : (tensor<!tf_type.resource<tensor<!tf_type.string>>>, tensor<!tf_type.string>) -> ()
    
        // CHECK: %[[VAR1:.*]] = "tf.VarHandleOp"()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_initialize_variables_in_session_init.mlir

      // CHECK-SAME: tf_saved_model.initializer_type = "restore_op"
      // CHECK: %[[VAR:.*]] = "tf.VarHandleOp"()
      // CHECK-SAME: "var1"
      // CHECK: %[[CST:.*]] = arith.constant dense<> : tensor<0xf32>
      // CHECK: "tf.AssignVariableOp"(%[[VAR]], %[[CST]])
    }
    
    
    // -----
    
    // Test invalid tensor
    // expected-error@below{{Can't find variable var5 in session}}
    module attributes {tf_saved_model.semantics, tf_saved_model.under_construction} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 19 13:38:14 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/multi_variables_v1.py

    from tensorflow.compiler.mlir.tensorflow.tests.tf_saved_model import common_v1
    
    # CHECK: "tf_saved_model.global_tensor"() <{is_mutable, sym_name = "[[VAR0:[a-zA-Z_0-9]+]]", type = tensor<5x3xf32>, value = {{.*}} : tensor<5x3xf32>}> : () -> ()
    # CHECK: "tf_saved_model.global_tensor"() <{is_mutable, sym_name = "[[VAR1:[a-zA-Z_0-9]+]]", type = tensor<3x5xf32>, value = {{.*}} : tensor<3x5xf32>}> : () -> ()
    # CHECK:      func {{@[a-zA-Z_0-9]+}}(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/marshal_test.go

    		{JSONSchemaPropsOrBoolHolder{JSPoBOmitEmpty: &JSONSchemaPropsOrBool{Schema: &JSONSchemaProps{Type: "string"}}}, `{"val1":false,"val2":{"type":"string"}}`},
    		{JSONSchemaPropsOrBoolHolder{JSPoBOmitEmpty: &JSONSchemaPropsOrBool{}}, `{"val1":false,"val2":false}`},
    		{JSONSchemaPropsOrBoolHolder{JSPoBOmitEmpty: &JSONSchemaPropsOrBool{Allows: true}}, `{"val1":false,"val2":true}`},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 15 16:26:13 UTC 2019
    - 7.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/variable_info.cc

    VariableInfo::VariableInfo(
        int index, absl::string_view name, Var* var,
        const std::optional<ManagedStackTrace>& definition_stack_trace)
        : index_(index),
          name_(name),
          var_(var),
          definition_stack_trace_(definition_stack_trace) {}
    
    VariableInfo::VariableInfo(VariableInfo&& other)
        : index_(other.index_),
          var_(other.var_),
          definition_stack_trace_(other.definition_stack_trace_),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top