- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 385 for assertGet (0.2 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SFTPServer.groovy
} void assertMet() { //can never be not met } } class SftpAllowAll implements SftpExpectation { final boolean failing = false final boolean missing = false boolean matches(Buffer buffer, int type, int id) { return true } void assertMet() { //can never be not met
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 17.1K bytes - Viewed (0) -
tensorflow/c/kernels/tensor_shape_utils_test.cc
Status status; TF_Tensor* tf_tensor = TF_TensorFromTensor(tensor, &status); TF_TensorWrapper tensor_wrapper = TF_TensorWrapper(tf_tensor); ASSERT_TRUE(status.ok()) << status.ToString(); ASSERT_EQ(tensor.shape().DebugString(), ShapeDebugString(tf_tensor)); } TEST(ShapeDebugString, RegularShape) { TestShapeMatch(TensorShape({5, 4, 7})); } TEST(ShapeDebugString, ScalarShape) { TestShapeMatch(TensorShape({})); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 03 21:44:58 UTC 2020 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/ir/tfrt_fallback_util_test.cc
ForEachArgConsumedByFallback( module.get(), [&func_and_index](llvm::StringRef func_name, int arg_index) { func_and_index.push_back({func_name.str(), arg_index}); }); ASSERT_EQ(func_and_index.size(), 1); EXPECT_EQ(func_and_index[0].first, "test"); EXPECT_EQ(func_and_index[0].second, 2); } } // namespace } // namespace fallback_async
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 2.1K bytes - Viewed (0) -
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) -
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) -
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/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) -
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)