- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for TEST_F (0.14 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/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/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/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/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) -
tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec_test.cc
return %0 : tensor<1x3xf32> } } )mlir"; TEST_F(IsOpQuantizableStableHloTest, ConstantOpQuantizable) { OwningOpRef<ModuleOp> module_op = ParseModuleOpString(kModuleConstantAdd); ASSERT_TRUE(module_op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 04 07:19:09 UTC 2024 - 14.8K bytes - Viewed (0) -
tensorflow/cc/framework/gradients_test.cc
} Scope scope_; }; TEST_F(StopGradientSingleOutputMultiEdgeTest, ValidGradAllEdges) { CheckGrad({false, false, false}, test::AsTensor<int>({15, 18, 21, 24}, {2, 2})); } TEST_F(StopGradientSingleOutputMultiEdgeTest, StopGradFirstEdge) { CheckGrad({true, false, false}, test::AsTensor<int>({14, 16, 18, 20}, {2, 2})); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 15 15:13:38 UTC 2023 - 25K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_platform_info_test.cc
} DeviceSetup device_setup_; }; class StubDevice : public DeviceBase { public: StubDevice() : DeviceBase(nullptr) {} }; #if GOOGLE_CUDA || TENSORFLOW_USE_ROCM TEST_F(XlaPlatformInfoTest, BuildXlaDeviceCompilerXlaDeviceMetadata) { device_setup_.AddDevicesAndSetUp({DEVICE_XLA_GPU}); Device* device = device_setup_.GetDevice(DEVICE_XLA_GPU); const XlaDevice::Metadata* metadata = nullptr;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Jan 14 15:17:12 UTC 2024 - 13.6K bytes - Viewed (0) -
tensorflow/cc/saved_model/saved_model_bundle_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) { SavedModelBundle bundle; SessionOptions session_options; RunOptions run_options; const string export_dir = io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 15.3K bytes - Viewed (0)