- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 109 for TEST_F (0.08 sec)
-
tensorflow/c/experimental/stream_executor/stream_executor_test.cc
} SP_Platform platform_; SP_PlatformFns platform_fns_; SP_DeviceFns device_fns_; SP_StreamExecutor se_; SP_TimerFns timer_fns_; std::unique_ptr<CPlatform> cplatform_; }; TEST_F(StreamExecutorTest, Allocate) { se_.allocate = [](const SP_Device* const device, uint64_t size, int64_t memory_space, SP_DeviceMemoryBase* const mem) {
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/cc/saved_model/saved_model_bundle_lite_test.cc
// when loading and unloading large numbers of SavedModelBundles. // TODO(sukritiramesh): Increase run iterations and move outside of the test // suite. TEST_F(LoaderTest, ResourceLeakTest) { SavedModelBundleLite bundle; SessionOptions session_options; RunOptions run_options; const string export_dir =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 9.7K bytes - Viewed (0) -
tensorflow/cc/gradients/math_grad_test.cc
Scope root_; }; TEST_F(MathGradTest, MatMulGrad_NoTranspose) { TestMatMulGrad<float>(false, false); } TEST_F(MathGradTest, MatMulComplexGrad_NoTranspose) { TestMatMulGrad<complex64>(false, false); } TEST_F(MathGradTest, MatMulGrad_TransposeX) { TestMatMulGrad<float>(true, false); } TEST_F(MathGradTest, MatMulComplexGrad_TransposeX) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 18:20:20 UTC 2023 - 36K bytes - Viewed (0) -
tensorflow/cc/gradients/nn_grad_test.cc
tensor_flat(j) = tmp; } } Scope scope_; }; TEST_F(NNGradTest, SoftmaxGrad) { TensorShape shape({32, 10}); auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(shape)); auto y = Softmax(scope_, x); RunTest(x, shape, y, shape); } TEST_F(NNGradTest, SoftmaxRank3Grad) { TensorShape shape({32, 1, 10});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 22 20:45:22 UTC 2022 - 15K bytes - Viewed (0) -
tensorflow/cc/gradients/array_grad_test.cc
} TEST_F(ArrayGradTest, UnstackGrad_Axis1) { TensorShape x_shape({4, 2, 3}); auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape)); // Unstacking the second dimension results in 2 outputs. std::vector<TensorShape> y_shapes(2, TensorShape({4, 3})); auto y = Unstack(scope_, x, 2, Unstack::Axis(1)); RunTest({x}, {x_shape}, y.output, y_shapes); } TEST_F(ArrayGradTest, IdentityGrad) { TensorShape shape({5, 2});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 10 23:33:32 UTC 2023 - 19.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config_test.cc
} return main; } protected: MLIRContext context_; OwningOpRef<ModuleOp> module_; }; TEST_F(LegalizationOpConfigTest, FailsWithExpectsLegalizationWithMlir) { TF_EXPECT_OK(CreateMlirModule()); EXPECT_FALSE(IsOpLegalizedWithMlir(*module_->getOperation())); } TEST_F(LegalizationOpConfigTest, ExpectsFalseForNonMlirOps) { TF_EXPECT_OK(CreateMlirModule());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 30 03:31:01 UTC 2024 - 8.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/uniform_quantized_types_test.cc
} TEST_F(CreateI8F32UniformQuantizedTypeTest, F32ExpressedTypeSucceeds) { const UniformQuantizedType quantized_type = CreateI8F32UniformQuantizedType(UnknownLoc::get(&ctx_), ctx_, /*scale=*/1.0, /*zero_point=*/0); EXPECT_TRUE(quantized_type.getExpressedType().isF32()); } TEST_F(CreateI8F32UniformQuantizedTypeTest, SignedQuantizedTypeSucceeds) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.8K bytes - Viewed (0) -
tensorflow/cc/gradients/linalg_grad_test.cc
EXPECT_LT(max_error, 1e-3); } Scope scope_; }; TEST_F(LinalgGradTest, Einsum_Transpose) { TensorShape x_shape({2, 3}); Output x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape)); auto y = Einsum(scope_, {x}, "ij->ji"); TensorShape y_shape({3, 2}); RunTest({x}, {x_shape}, {y}, {y_shape}); } TEST_F(LinalgGradTest, Einsum_TransposeBroadcast) { TensorShape x_shape({3, 2, 3});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 07 23:11:54 UTC 2022 - 5.8K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/tf_concrete_function_loading_test.cc
signature->add_output_arg(); } return func; } // A SavedConcreteFunction whose canonicalized input signature // has less inputs than its corresponding FunctionDef should cause an error. TEST_F(SavedConcreteFunctionLoadingTest, TooFewInputsInSavedConcreteFunction) { // `saved` has 1 input SavedConcreteFunction saved; *saved.mutable_canonicalized_input_signature() = testing::SingleArgInputSignature();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 10.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints_test.cc
EXPECT_TRUE(failed(TryCast<DotGeneralOp>(nullptr, /*name=*/"nullptr"))); } TEST_F(AttrsAndConstraintsTest, I64ValueInI32RangeAreCastedCorrectly) { EXPECT_TRUE(succeeded(CastI64ToI32(llvm::minIntN(32)))); EXPECT_TRUE(succeeded(CastI64ToI32(llvm::maxIntN(32)))); } TEST_F(AttrsAndConstraintsTest, CastingFailsForI64ValueOutOfI32Range) { EXPECT_TRUE(failed(CastI64ToI32(llvm::minIntN(32) - 10)));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 17:10:32 UTC 2024 - 22.9K bytes - Viewed (0)