Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 3,800 for expectGet (0.14 sec)

  1. pkg/kubelet/prober/worker_test.go

    				t.Errorf("[%s-%d] Expected continue to be %v but got %v", probeType, i, test.expectContinue[probeType.String()], c)
    			}
    			result, ok := resultsManager(m, probeType).Get(testContainerID)
    			if ok != test.expectSet {
    				t.Errorf("[%s-%d] Expected to have result: %v but got %v", probeType, i, test.expectSet, ok)
    			}
    			if result != test.expectedResult {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 23:48:10 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/inference/inference_metrics_pass_test.cc

        }
      })";
    
      CellReader<int64_t> error(kHasTpuPartitionedCallStreamzName);
      CreateModule(kMlirModuleStr);
    
      auto result = Run();
    
      EXPECT_TRUE(result.succeeded());
    
      EXPECT_EQ(error.Delta("true"), 1);
      EXPECT_EQ(error.Delta("false"), 0);
    }
    
    TEST_F(InferenceMetricsPassTest, RecordsFalseForNonTPUPartitionedCallOp) {
      static constexpr char kMlirModuleStr[] = R"(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/convert_type_test.cc

      return os.str();
    }
    
    TEST(MlirConvertType, ConvertToMlirTensorType) {
      // Simple case of static shapes.
      EXPECT_EQ("tensor<4x8x16xi32>",
                ConvertToMlirString({4, 8, 16}, /*unknown_rank=*/false,
                                    DataType::DT_INT32));
    
      // Partially known shapes.
      EXPECT_EQ("tensor<?x27x?xbf16>",
                ConvertToMlirString({-1, 27, -1}, /*unknown_rank=*/false,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/core/saved_variable_loading_test.cc

      saved_variable.set_dtype(dtype);
      shape.AsProto(saved_variable.mutable_shape());
    
      std::unique_ptr<Variable> var;
      TF_EXPECT_OK(internal::LoadSavedVariable(context(), saved_variable, &var));
      EXPECT_EQ(var->dtype(), dtype);
      EXPECT_EQ(var->shape(), shape);
    }
    
    // Verify that a device specified in the SavedVariable is kept.
    TEST_P(SavedVariableLoadingTest, LoadSavedVariableWithDevice) {
      auto& test_params = GetParam();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. pkg/test/echo/cmd/client/main.go

    	timeout                 time.Duration
    	qps                     int
    	uds                     string
    	headers                 []string
    	msg                     string
    	expect                  string
    	expectSet               bool
    	method                  string
    	http2                   bool
    	http3                   bool
    	insecureSkipVerify      bool
    	alpn                    []string
    	serverName              string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  6. tensorflow/c/while_loop_test.cc

      }
    
      void ExpectOK() {
        TF_FinishWhile(params_.get(), s_, &outputs_[0]);
        EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      }
    
      void ExpectError(TF_Code expected_code, const string& expected_msg) {
        TF_FinishWhile(params_.get(), s_, &outputs_[0]);
        EXPECT_EQ(expected_code, TF_GetCode(s_));
        EXPECT_EQ(expected_msg, TF_Message(s_));
        // TODO(skyewm): this assert is currently broken. Fix or remove guarantee.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 06:05:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo_test.cc

      CellReader<int64_t> counts(kBridgeStatusCounter);
    
      auto result = CompileMlirModule(kMlirModuleStr);
    
      ASSERT_THAT(result, IsOkOrFiltered());
      EXPECT_EQ(mlir_bridge_legalize_count.Delta("tf.Acos"), 0);
      EXPECT_THAT(result,
                  IncrementedOrFiltered(counts.Delta(kMlirCombinedMlirSuccess), 1));
      EXPECT_THAT(result,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. tensorflow/cc/saved_model/fingerprinting_test.cc

      // fingerprints' saved_model_checksums.
      EXPECT_GT(fingerprint_def.saved_model_checksum(), 0);
      EXPECT_GT(fingerprint_def2.saved_model_checksum(), 0);
      EXPECT_EQ(fingerprint_def.graph_def_program_hash(),
                fingerprint_def2.graph_def_program_hash());
      EXPECT_EQ(fingerprint_def.signature_def_hash(),
                fingerprint_def2.signature_def_hash());
      EXPECT_EQ(fingerprint_def.saved_object_graph_hash(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf_test.cc

          "/tensorflow/core/tf2xla/v1/mlir_failed_xla_legalize_tf_pass_count");
    
      auto status = BuildAndRunPipeline(kMlirIllegalOpStr, legalizeTFPasses());
    
      EXPECT_TRUE(status);
      EXPECT_EQ(legalize_failure_count.Read("tf.DoesntExist", "Unknown"), 1);
    }
    
    TEST(XlaLegalizeTest, LegalOp) {
      // We expect legalization to fail for legal op with dynamic shapes:
      static constexpr char kMlirLegalOpStr[] = R"(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/node_matchers_test.cc

      EXPECT_EQ(Explain(add.node(), NodeWith(Inputs())),
                "\nexpected 0 inputs but node has 2");
      EXPECT_EQ(
          Explain(add.node(), NodeWith(Inputs(Out(NodeWith(Name("blah"))), _))),
          "\ninput 0 does not match expected:\nname: blah, \nsource does not match "
          "expected name: blah\n\t\nexpected name blah but found placeholder_a");
      EXPECT_EQ(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 14:43:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top