- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 4,605 for expectGet (0.4 sec)
-
tensorflow/compiler/jit/device_compilation_cache_test.cc
TF_ASSERT_OK_AND_ASSIGN(auto key, BuildSampleSignature("foo")); Cache::Value cache_value = cache->LookupOrCreate(key); EXPECT_EQ(cache_value.compile_state, DeviceCompileState::kUncompiled); EXPECT_EQ(cache_value.request_count, 1); EXPECT_EQ(cache_value.compilation_result, nullptr); EXPECT_EQ(cache_value.executable, nullptr); } TEST(DeviceCompilationCacheTest, IncrementRequestCountOnLookup) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 8.6K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_compile_util_test.cc
EXPECT_EQ(arg_node->op_def().name(), "_Arg"); EXPECT_EQ(arg_node->attrs().FindByString("T")->type(), DT_FLOAT); const Node* retval_node = node_name_index.at("_retval0"); EXPECT_EQ(retval_node->op_def().name(), "_Retval"); EXPECT_EQ(retval_node->attrs().FindByString("T")->type(), DT_FLOAT); EXPECT_EQ(identity_node->num_outputs(), 1); EXPECT_EQ(retval_node->num_inputs(), 1); const Node* retval_input_node = nullptr;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 16 21:48:05 UTC 2023 - 6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/lstm_utils_test.cc
// verify transpose EXPECT_EQ( fused_lstm_func_->getAttrOfType<StringAttr>(kTFImplements).getValue(), convert.GetCompositeOpName()); EXPECT_EQ(fused_lstm_func_.getNumArguments(), 5); EXPECT_EQ(fused_lstm_func_.getFunctionType().getNumResults(), 1); auto transpose_op = fused_lstm_func_.getBody().front().begin(); transpose_op++;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/tests/object_test.cc
foo.Set(String("b"), Integer(33)); EXPECT_EQ(foo.Get<Integer>(String("b"))->get(), 33); } TEST(ObjectTest, TestTuple) { Tuple foo(String("a"), Integer(33), Float(10.f)); EXPECT_EQ(foo.size(), 3); EXPECT_EQ(foo.Get<Integer>(1)->get(), 33); } TEST(ObjectTest, TestList) { List l; EXPECT_EQ(l.size(), 0); l.append(Integer(3)); EXPECT_EQ(l.Get<Integer>(0)->get(), 3); EXPECT_EQ(l.size(), 1); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jul 28 21:37:07 UTC 2021 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
throw new CIFSException("Failed to decrypt MIC", e); } } int expectSeq = this.verifySequence.getAndIncrement(); if ( expectSeq != seq ) { throw new CIFSException(String.format("Invalid MIC sequence, expect %d have %d", expectSeq, seq)); } byte[] verify = new byte[8]; System.arraycopy(mic, 4, verify, 0, 8);
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 15.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/utils/bfloat16_type_test.cc
auto context = CreateContext(); EXPECT_EQ(ToBfloat16Type(Float8E4M3FNType::get(context.get())), Float8E4M3FNType::get(context.get())); EXPECT_EQ(ToBfloat16Type(Float16Type::get(context.get())), Float16Type::get(context.get())); EXPECT_EQ(ToBfloat16Type(BFloat16Type::get(context.get())), BFloat16Type::get(context.get())); EXPECT_EQ(ToBfloat16Type(Float32Type::get(context.get())),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jan 19 23:51:52 UTC 2024 - 5.8K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc
EXPECT_EQ(0, TF_ShapeDims(shape_a)); const TF_SignatureDefParam* param_b = TF_SignatureDefParamListGet(args, 1); const TF_TensorSpec* tensor_spec_b = TF_SignatureDefParamTensorSpec(param_b); const TF_Shape* shape_b = TF_TensorSpecShape(tensor_spec_b); // Input "b" is a scalar, float32 tensor EXPECT_EQ("b", std::string(TF_SignatureDefParamName(param_b)));
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/tests/side-effect-analysis-test.mlir
// expected-remark@above {{ID: 8}} // expected-remark@above {{Predecessors: {5,6}}} // expected-remark@above {{Successors: {9}}} tf_executor.yield // expected-remark@above {{ID: 9}} // expected-remark@above {{Predecessors: {7,8}}} } tf_executor.fetch %island : !tf_executor.control // expected-remark@above {{ID: 11}} // expected-remark@above {{Predecessors: {10}}} }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 20 04:39:18 UTC 2023 - 129.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/CUnit.h
{ CU_assertImplementation(((actual) == (expected)), __LINE__, ("CU_ASSERT_EQUAL_FATAL(" #actual "," #expected ")"), __FILE__, "", CU_TRUE); } /** Asserts that actual != expected. * Reports failure with no other action. */ #define CU_ASSERT_NOT_EQUAL(actual, expected) \ { CU_assertImplementation(((actual) != (expected)), __LINE__, ("CU_ASSERT_NOT_EQUAL(" #actual "," #expected ")"), __FILE__, "", CU_FALSE); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 18.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/resolve/scenarios/VersionRangeResolveTestScenarios.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 27.8K bytes - Viewed (0)