Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for varr (0.26 sec)

  1. pilot/pkg/config/kube/crd/conversion_test.go

    			}
    			assert.Equal(t, &tt.cfg, got)
    		})
    	}
    }
    
    func TestParseInputs(t *testing.T) {
    	if varr, _, err := ParseInputs(""); len(varr) > 0 || err != nil {
    		t.Errorf(`ParseInput("") => got %v, %v, want nil, nil`, varr, err)
    	}
    	if _, _, err := ParseInputs("a"); err == nil {
    		t.Error(`ParseInput("a") => got no error`)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 18:26:16 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/crd/conversion.go

    		}
    
    		if withValidate {
    			if _, err := s.ValidateConfig(*cfg); err != nil {
    				return nil, nil, fmt.Errorf("configuration is invalid: %v", err)
    			}
    		}
    
    		varr = append(varr, *cfg)
    	}
    
    	return varr, others, nil
    }
    
    // ParseInputs reads multiple documents from `kubectl` output and checks with
    // the schema. It also returns the list of unrecognized kinds as the second
    // response.
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 18:26:16 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. test/torture.go

    		Children[0]
    }
    
    type UArr struct {
    	Children [2]J
    }
    
    func (u *UArr) Child(n int) J { return u.Children[n] }
    
    func ChainAssertArrayIndex(u *UArr) J {
    	return u.
    		Children[0].(*UArr).
    		Children[0].(*UArr).
    		Children[0].(*UArr).
    		Children[0].(*UArr).
    		Children[0].(*UArr).
    		Children[0].(*UArr).
    		Children[0].(*UArr).
    		Children[0].(*UArr).
    		Children[0].(*UArr).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 01 07:20:51 UTC 2014
    - 7.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. cni/pkg/install/testdata/invalid-arr.conflist

    Pengyuan Bian <******@****.***> 1625172474 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 01 20:47:54 UTC 2021
    - 3 bytes
    - Viewed (0)
  10. 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)
Back to top