Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for assertGet (0.29 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/time/tick_test.go

    		noTick()
    
    		// Test that len sees an immediate tick arrive
    		// for Reset of timer in heap.
    		tim.Reset(1)
    		assertLen()
    		assertTick()
    
    		// Test that len sees an immediate tick arrive
    		// for Reset of timer NOT in heap.
    		tim.Stop()
    		drainAsync()
    		tim.Reset(1)
    		assertLen()
    		assertTick()
    	}
    
    	// Sleep long enough that a second tick must happen if this is a ticker.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter_test.cc

            expected->subgraph_metadata()->GetAs<SubgraphMetadata>(i);
        if (expected_subgraph_metadata->op_metadata() == nullptr &&
            result_subgraph_metadata->op_metadata() == nullptr) {
          return;
        }
        ASSERT_EQ(expected_subgraph_metadata->op_metadata()->size(),
                  result_subgraph_metadata->op_metadata()->size());
        for (int j = 0; j < expected_subgraph_metadata->op_metadata()->size();
             ++j) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. platforms/core-runtime/wrapper-main/src/executable/resources/META-INF/LICENSE

          of any other Contributor, and only if You agree to indemnify,
          defend, and hold each Contributor harmless for any liability
          incurred by, or claims asserted against, such Contributor by reason
          of your accepting any such warranty or additional liability.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. src/net/http/request_test.go

    		t.Errorf("missing value = %q, want empty string", g)
    	}
    
    	assertMem := func(n string, fd multipart.File) {
    		if _, ok := fd.(*os.File); ok {
    			t.Error(n, " is *os.File, should not be")
    		}
    	}
    	fda := testMultipartFile(t, req, "filea", "filea.txt", fileaContents)
    	defer fda.Close()
    	assertMem("filea", fda)
    	fdb := testMultipartFile(t, req, "fileb", "fileb.txt", filebContents)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  8. cmd/object-handlers_test.go

    // First register the HTTP handler for NewMultipartUpload, then a HTTP request for NewMultipart upload is made.
    // The UploadID from the response body is parsed and its existence is asserted with an attempt to ListParts using it.
    func TestAPINewMultipartHandler(t *testing.T) {
    	defer DetectTestLeak(t)()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  9. CREDITS

          of any other Contributor, and only if You agree to indemnify,
          defend, and hold each Contributor harmless for any liability
          incurred by, or claims asserted against, such Contributor by reason
          of your accepting any such warranty or additional liability.
    
       END OF TERMS AND CONDITIONS
    
       APPENDIX: How to apply the Apache License to your work.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 15:34:20 UTC 2024
    - 1.7M bytes
    - Viewed (0)
  10. src/runtime/iface.go

    	// The cached result doesn't record which
    	// interface function was missing, so initialize
    	// the itab again to get the missing function name.
    	panic(&TypeAssertionError{concrete: typ, asserted: &inter.Type, missingMethod: itabInit(m, false)})
    }
    
    // find finds the given interface/type pair in t.
    // Returns nil if the given interface/type pair isn't present.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
Back to top