Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 57 of 57 for test_value (0.17 sec)

  1. tensorflow/c/experimental/saved_model/core/saved_model_utils.cc

            TF_RETURN_IF_ERROR(FlattenSignature(value, flattened_specs));
          }
          return Status();
        }
        case StructuredValue::kListValue: {
          const ListValue& list = signature.list_value();
          for (const StructuredValue& value : list.values()) {
            TF_RETURN_IF_ERROR(FlattenSignature(value, flattened_specs));
          }
          return Status();
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 19:17:46 UTC 2023
    - 24K bytes
    - Viewed (0)
  2. src/context/x_test.go

    func (k key2) String() string { return fmt.Sprintf("%[1]T(%[1]d)", k) }
    
    var k1 = key1(1)
    var k2 = key2(1) // same int as k1, different type
    var k3 = key2(3) // same type as k2, different int
    
    func TestValues(t *testing.T) {
    	check := func(c Context, nm, v1, v2, v3 string) {
    		if v, ok := c.Value(k1).(string); ok == (len(v1) == 0) || v != v1 {
    			t.Errorf(`%s.Value(k1).(string) = %q, %t want %q, %t`, nm, v, ok, v1, len(v1) != 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          } catch (UnsupportedOperationException | NullPointerException e) {
            // Expected.
          }
        }
        assertInvariants(map);
      }
    
      public void testValues() {
        Map<K, V> map;
        Collection<V> valueCollection;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        assertInvariants(map);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          } catch (UnsupportedOperationException | NullPointerException e) {
            // Expected.
          }
        }
        assertInvariants(map);
      }
    
      public void testValues() {
        Map<K, V> map;
        Collection<V> valueCollection;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        assertInvariants(map);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

        # is not backloaded into Python.
        if name_str == 'ag__':
          return {type(AG_MODULE)}, AG_MODULE
    
        return None, None
    
      def res_value(self, ns, value):
        # resolves the type of the symbol by the metadata in 'value'
        if value is None:
          return {TFRTypes.NONE}
        if value in (TFRTypes.SHAPE, TFRTypes.TF_TENSOR_SHAPE_FUNC):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  6. tensorflow/cc/saved_model/testdata/chunked_saved_model/chunked_model/saved_model.pbtxt

              fullargspec {
                named_tuple_value {
                  name: "FullArgSpec"
                  values {
                    key: "args"
                    value {
                      list_value {
                      }
                    }
                  }
                  values {
                    key: "varargs"
                    value {
                      none_value {
                      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 21:43:11 UTC 2023
    - 531.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

            current_index_path_.pop_back();
          }
          return;
        }
        // We don't differentiate between tuples and lists.
        case StructuredValue::kListValue: {
          const ListValue& list = value.list_value();
          for (int i = 0, e = list.values_size(); i < e; i++) {
            current_index_path_.push_back(builder_.getI64IntegerAttr(i));
            RecursivelyFindLeaves(list.values(i));
            current_index_path_.pop_back();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top