- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for assertGet (0.23 sec)
-
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/while_loop_test.cc
params_->cond_graph, s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); params_->cond_output = {less_than, 0}; TF_Operation* add1 = Add(params_->body_inputs[0], params_->body_inputs[1], params_->body_graph, s_, "add1"); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); TF_Operation* one = ScalarConst(1, params_->body_graph, s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 11 06:05:56 UTC 2024 - 15.3K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor_test.cc
StreamExecutor* executor = GetExecutor(0); const DeviceDescription& description = executor->GetDeviceDescription(); ASSERT_EQ(description.name(), "TestName"); ASSERT_EQ(description.device_vendor(), "TestVendor"); ASSERT_EQ(description.pci_bus_id(), "TestPCIBusId"); ASSERT_EQ(description.numa_node(), 123); ASSERT_EQ(description.memory_bandwidth(), 54); } TEST_F(StreamExecutorTest, DeviceDescriptionNumaNodeNotSet) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 19:54:04 UTC 2024 - 26.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_distributed_test.cc
TFE_Execute(func, &retvals[0], &num_retvals, status); ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); ASSERT_EQ(1, num_retvals); TF_Tensor* t = TFE_TensorHandleResolve(retvals[0], status); ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TFE_DeleteTensorHandle(retvals[0]); float sum = 0; ASSERT_EQ(sizeof(sum), TF_TensorByteSize(t)); memcpy(&sum, TF_TensorData(t), TF_TensorByteSize(t));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 23.5K 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/tensorflow/utils/tpu_rewrite_device_util_test.cc
EXPECT_EQ(xla_device_assignment->computation_count(), 2); ASSERT_EQ(xla_device_assignment->computation_devices_size(), 2); const auto& computation_device_0 = xla_device_assignment->computation_devices(0); ASSERT_EQ(computation_device_0.replica_device_ids_size(), 4); const auto& computation_device_1 = xla_device_assignment->computation_devices(1); ASSERT_EQ(computation_device_1.replica_device_ids_size(), 4);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 46.8K bytes - Viewed (0) -
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) -
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/fingerprinting_utils_test.cc
TEST(FingerprintingTest, TestSerializeProto) { std::string many_fields_text_proto = R"pb( string_field: "abc123" )pb"; ManyFields many_fields; TF_ASSERT_OK(ParseTextProto(many_fields_text_proto, &many_fields)); ASSERT_EQ(SerializeProto(many_fields), many_fields.SerializeAsString()); } TEST(FingerprintingTest, TestHashFieldsV2) { std::string cpb_file = io::JoinPath(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 20 22:19:55 UTC 2024 - 15.2K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileProblemsIntegrationTest.groovy
// Register that we've asserted this location assertedLocationCount += 1 def offsetLocation = locations.find { it instanceof OffsetInFileLocation } assert offsetLocation != null: "Expected a precise file location, but it was null" // Register that we've asserted this location assertedLocationCount += 1 }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 16:15:29 UTC 2024 - 24K bytes - Viewed (0)