- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 695 for test_1 (0.3 sec)
-
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/tensorflow/cc/const_op_size_test.cc
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "tensorflow/core/platform/test.h" namespace mlir { namespace quant { namespace { using ::testing::Eq; class GetSizeInBytesTest : public ::testing::Test { protected: GetSizeInBytesTest() : ctx_() { ctx_.loadDialect<TF::TensorFlowDialect>(); } MLIRContext ctx_; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 14 04:37:13 UTC 2022 - 5.4K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/tests/runtime_test.cc
#include "tensorflow/cc/experimental/libtf/tests/runtime_test.h" namespace tf { namespace libtf { namespace runtime { using ::tensorflow::testing::StatusIs; using ::testing::HasSubstr; using ::tf::libtf::impl::TaggedValueTensor; constexpr char kSimpleModel[] = "tensorflow/cc/experimental/libtf/tests/testdata/simple-model"; TEST_P(RuntimeTest, SimpleModelCallableFloatTest) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 09 12:27:54 UTC 2023 - 4.8K bytes - Viewed (0) -
tensorflow/cc/saved_model/reader_test.cc
"tensorflow/serving/predict"); } }; TEST_F(ReaderTest, TagMatch) { MetaGraphDef meta_graph_def; const string export_dir = GetDataDependencyFilepath(TestDataSharded()); TF_ASSERT_OK(ReadMetaGraphDefFromSavedModel(export_dir, {kSavedModelTagServe}, &meta_graph_def)); CheckMetaGraphDef(meta_graph_def); } TEST_F(ReaderTest, NoTagMatch) { MetaGraphDef meta_graph_def;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 17 21:17:08 UTC 2023 - 5.1K bytes - Viewed (0) -
tensorflow/cc/framework/gradients_test.cc
TEST_F(StopGradientSingleOutputMultiEdgeTest, StopGradFirstEdge) { CheckGrad({true, false, false}, test::AsTensor<int>({14, 16, 18, 20}, {2, 2})); } TEST_F(StopGradientSingleOutputMultiEdgeTest, StopGradSecondEdge) { CheckGrad({false, true, false}, test::AsTensor<int>({10, 12, 14, 16}, {2, 2})); } TEST_F(StopGradientSingleOutputMultiEdgeTest, StopGradThirdEdge) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 15 15:13:38 UTC 2023 - 25K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
} TEST_F(CApiFunctionTest, TFGraphToFunctionWithStackTraces) { DefineFunction(func_name_, &func_); auto stack_traces = func_->record->stack_traces(); EXPECT_EQ(stack_traces.size(), 4); EXPECT_EQ(stack_traces["neg"]->ToString({}), kNegStackToString); EXPECT_EQ(stack_traces["feed"]->ToString({}), kFeedStackToString); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_skip.txt
go test -v -run Test -skip T skip_test.go ! stdout RUN stdout '^ok.*\[no tests to run\]' go test -v -skip T skip_test.go ! stdout RUN go test -v -skip 1 skip_test.go ! stdout Test1 stdout RUN.*Test2 stdout RUN.*Test2/3 go test -v -skip 2/3 skip_test.go stdout RUN.*Test1 stdout RUN.*Test2 stdout RUN.*ExampleTest1 ! stdout Test2/3 go test -v -skip 2/4 skip_test.go stdout RUN.*Test1 stdout RUN.*Test2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 17:40:22 UTC 2023 - 755 bytes - Viewed (0) -
tensorflow/cc/tools/freeze_saved_model_test.cc
} TEST_F(FreezeTest, GraphDefWithoutDependentVariables) { TestFreezeGraphWithoutDependentVariables(false); } TEST_F(FreezeTest, GraphDefWithoutDependentResourceVariables) { TestFreezeGraphWithoutDependentVariables(true); } TEST_F(FreezeTest, GraphDefWithDependentVariables) { TestFreezeGraphWithDependentVariables(false); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 07 13:30:31 UTC 2022 - 21.7K bytes - Viewed (0) -
tensorflow/cc/ops/while_loop_test.cc
"100"); } TEST_F(WhileLoopTest, UnsetCondOutput) { Init(1); CreateLoop([](const Scope& s, const std::vector<Output>& inputs, Output* output) { return s.status(); }, AddOneBody, error::INVALID_ARGUMENT, "Node is null"); } // TODO(skyewm): test bad body output type // TODO(skyewm): test bad body output shape TEST_F(WhileLoopTest, NullBodyOutputNode) { Init(1);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 13 22:30:58 UTC 2023 - 6.4K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor_test.cc
#include "xla/stream_executor/stream_executor.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/protobuf/error_codes.pb.h" #include "tsl/platform/statusor.h" namespace stream_executor { namespace { /*** Registration tests ***/ TEST(StreamExecutor, SuccessfulRegistration) { auto plugin_init = [](SE_PlatformRegistrationParams* const params,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 19:54:04 UTC 2024 - 26.5K bytes - Viewed (0)