- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 379 for assertMem (0.13 sec)
-
tensorflow/compiler/jit/compilability_check_util_test.cc
checker_->FindUncompilableNodes(*uncompilable_op, flib_runtime); ASSERT_EQ(1, uncompilable_nodes.size()); auto node_info_it = uncompilable_nodes.find(NameAttrList().ShortDebugString()); ASSERT_NE(uncompilable_nodes.end(), node_info_it); const auto& uncompilable_nodes_inside_function = node_info_it->second.second; ASSERT_EQ(1, uncompilable_nodes_inside_function.size());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 10 12:32:39 UTC 2022 - 22.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java
multimap().replaceValues(k0(), values); assertGet(k0(), values); } @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE, ALLOWS_NULL_KEYS}) public void testReplaceValuesWithNullKey() { List<V> values = Arrays.asList(v0(), v2(), v3()); multimap().replaceValues(null, values); assertGet(null, values); } @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 5.2K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc
tensorflow::unwrap(saved_model)); tensorflow::Variable* uninitialized_variable; ASSERT_EQ(absl::OkStatus(), model_api->GetVariable("uninitialized_variable", &uninitialized_variable)); ASSERT_EQ(tensorflow::DT_FLOAT, uninitialized_variable->dtype()); ASSERT_EQ(absl::OkStatus(), model_api->GetVariable("sub_module.uninitialized_variable",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 08:08:45 UTC 2024 - 21.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc
ASSERT_EQ(status, kTfLiteOk); const uint8_t* buffer = builder.GetBufferPointer(); const Model* output_model = GetModel(buffer); ASSERT_TRUE(output_model); ASSERT_EQ(output_model->subgraphs()->size(), model_->subgraphs()->size()); const auto quantized_graph = output_model->subgraphs()->Get(0); // A dequantize op should be added. ASSERT_EQ(quantized_graph->operators()->size(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 32.3K bytes - Viewed (0) -
tensorflow/c/c_api_experimental_test.cc
TF_GraphCopyFunction(func_graph_, func_, nullptr, s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); EXPECT_EQ(TF_GraphNumFunctions(func_graph_), 1); EXPECT_EQ(TF_GraphGetFunctions(func_graph_, funcs, 1, s_), 1); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); TF_GraphRemoveFunction(func_graph_, func_name_, s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 17 22:27:52 UTC 2023 - 13.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/size_utils_test.cc
#include "tensorflow/core/platform/test.h" namespace mlir { namespace TFL { namespace { TEST(SizeUtilTest, TestConvertsSize) { ASSERT_EQ(ConvertToTfliteSize(1), 1); ASSERT_EQ(ConvertToTfliteSize(-1), -1); ASSERT_EQ(ConvertToTfliteSize(mlir::ShapedType::kDynamic), -1); } } // namespace } // namespace TFL
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Dec 23 16:15:59 UTC 2022 - 1.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
int size = getNumElements(); assertGet(k3(), ImmutableList.<V>of()); assertTrue(multimap().put(k3(), v3())); assertGet(k3(), v3()); assertEquals(size + 1, multimap().size()); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutPresent() { int size = getNumElements(); assertGet(k0(), v0());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 7.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
int size = getNumElements(); assertGet(k3(), ImmutableList.<V>of()); assertTrue(multimap().put(k3(), v3())); assertGet(k3(), v3()); assertEquals(size + 1, multimap().size()); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutPresent() { int size = getNumElements(); assertGet(k0(), v0());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 7.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_cluster_test.cc
TFE_Op* op = TFE_NewOp(ctx, "ReadVariableOp", status); ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TFE_OpSetAttrType(op, "dtype", TF_FLOAT); TFE_OpAddInput(op, var, status); ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); int num_retvals = 1; TFE_Execute(op, out_value, &num_retvals, status); ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TFE_DeleteOp(op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 10:03:59 UTC 2023 - 19.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/device_util_test.cc
(*module_ref)->setAttr("tf.devices", device_dict); mlir::TF::RuntimeDevices devices; EXPECT_TRUE(mlir::succeeded(GetDevicesFromOp(*module_ref, &devices))); ASSERT_EQ(devices.NumDevices(), 1); ASSERT_EQ(devices.device_names().size(), 1); ASSERT_EQ(DeviceNameUtils::ParsedNameToString(devices.device_names()[0]), "/job:worker/replica:0/task:0/device:CPU:0"); } TEST(DeviceUtilTest, GetGpuDeviceMetadata) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.5K bytes - Viewed (0)