- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 386 for assertMet (0.2 sec)
-
tensorflow/c/eager/parallel_device/parallel_device_testlib.h
TF_NewStatus(), TF_DeleteStatus); std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)> actual_value( TFE_TensorHandleResolve(handle, status.get()), TF_DeleteTensor); ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get()); ASSERT_EQ(TF_TensorType(actual_value.get()), static_cast<TF_DataType>(DataTypeToEnum<value_type>().value)); EXPECT_EQ(expected_value,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 09 01:12:35 UTC 2021 - 6.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java
assertEmpty(multimap().asMap()); assertEmpty(multimap().keySet()); assertEmpty(multimap().keys()); assertEmpty(multimap().values()); for (K key : sampleKeys()) { assertGet(key); } } @MapFeature.Require(SUPPORTS_REMOVE) public void testClear() { multimap().clear(); assertCleared(); } @MapFeature.Require(SUPPORTS_REMOVE)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 4K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/tests/mlir_transform_test.cc
TF_ASSERT_OK_AND_ASSIGN(Callable to_string, model_good.Get<Callable>(String("ToString"))); TF_ASSERT_OK_AND_ASSIGN(String s, to_string.Call<String>(model_good)); ASSERT_GT(strlen(s.get()), 0); } } // namespace libtf
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 15 16:58:38 UTC 2021 - 1.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/python/testing_test.py
'shapes': [ [3, 3], [3, None], ], 'has_bias': [True, False], }] combinations = testing.parameter_combinations(test_parameters) self.assertLen(combinations, 4) self.assertIn({'shapes': [3, 3], 'has_bias': True}, combinations) self.assertIn({'shapes': [3, 3], 'has_bias': False}, combinations) self.assertIn({'shapes': [3, None], 'has_bias': True}, combinations)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 08:51:46 UTC 2024 - 2.3K bytes - Viewed (0) -
src/runtime/error.go
_interface *_type concrete *_type asserted *_type missingMethod string // one method needed by Interface, missing from Concrete } func (*TypeAssertionError) RuntimeError() {} func (e *TypeAssertionError) Error() string { inter := "interface" if e._interface != nil { inter = toRType(e._interface).string() } as := toRType(e.asserted).string() if e.concrete == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:10:41 UTC 2024 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/DosFileFilter.java
/* This returns true if the file's attributes contain any of the attributes * specified for this filter. The wildcard has no influence on this * method as the server should have performed that filtering already. The * attributes are asserted here only because server file systems may not * support filtering by all attributes (e.g. even though ATTR_DIRECTORY was * specified the server may still return objects that are not directories). */
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 1.9K bytes - Viewed (0) -
tensorflow/cc/saved_model/saved_model_bundle_lite_test.cc
TF_EXPECT_OK(Env::Default()->FileExists(asset_filepath)); std::vector<Tensor> path_outputs; TF_ASSERT_OK( bundle.GetSession()->Run({}, {"filename_tensor:0"}, {}, &path_outputs)); ASSERT_EQ(1, path_outputs.size()); test::ExpectTensorEqual<tstring>( test::AsTensor<tstring>({"foo.txt"}, TensorShape({})), path_outputs[0]); } void CheckSavedModelBundle(const string& export_dir,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 9.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/DosFileFilter.java
* specified for this filter. The wildcard has no influence on this * method as the server should have performed that filtering already. The * attributes are asserted here only because server file systems may not * support filtering by all attributes (e.g. even though ATTR_DIRECTORY was * specified the server may still return objects that are not directories). */ @Override
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/MutationGuard.java
boolean isMutationAllowed(); /** * Throws exception when mutation is not allowed. * * @param methodName the method name the assertion is testing * @param target the target object been asserted on */ void assertMutationAllowed(String methodName, Object target); <T> void assertMutationAllowed(String methodName, T target, Class<T> targetType);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 11 21:58:11 UTC 2018 - 2.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java
} } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(SUPPORTS_REMOVE) public void testAsMapRemove() { assertContentsInOrder(multimap().asMap().remove(k0()), v0()); assertGet(k0()); assertEquals(getNumElements() - 1, multimap().size()); } @CollectionSize.Require(SEVERAL) @MapFeature.Require(SUPPORTS_PUT) public void testAsMapEntrySetReflectsPutSameKey() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 5.6K bytes - Viewed (0)