- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for InterestingShapes (0.19 sec)
-
tensorflow/c/experimental/saved_model/core/saved_variable_loading_test.cc
::testing::ValuesIn(testing::InterestingShapes()))); INSTANTIATE_TEST_SUITE_P( SavedVariableFloatingDtypesTest, SavedVariableLoadingTest, ::testing::Combine(::testing::Values(DT_FLOAT, DT_DOUBLE), ::testing::ValuesIn(testing::InterestingShapes()))); } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 09:34:33 UTC 2024 - 6.2K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/constant_loading_test.cc
::testing::ValuesIn(testing::InterestingShapes()), ::testing::Values(false, true))); INSTANTIATE_TEST_SUITE_P( ConstantFloatingDtypesTest, ConstantTest, ::testing::Combine(::testing::Values(DT_FLOAT, DT_DOUBLE), ::testing::ValuesIn(testing::InterestingShapes()), ::testing::Values(false, true))); } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 11 01:20:50 UTC 2021 - 4.2K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/test_utils.h
// Returns a vector of shapes intended to be "interesting" test cases. // Currently, this returns scalar, 1D vector, 2D matrix, and a 4D tensor shapes std::vector<std::vector<int64_t>> InterestingShapes(); // Returns a TensorHandle of `dtype` and `shape`, filled with `value`. // `dtype` must be an integer dtype, float, or double. // If a TensorHandle cannot be created successfully, this function will
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 11 01:20:50 UTC 2021 - 3.5K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/test_utils.cc
std::vector<DataType> result; result.reserve(set.size()); for (DataType dt : set) { result.push_back(dt); } return result; } std::vector<std::vector<int64_t>> InterestingShapes() { std::vector<std::vector<int64_t>> interesting_shapes; interesting_shapes.push_back({}); // Scalar interesting_shapes.push_back({10}); // 1D Vector
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Sep 08 20:13:32 UTC 2023 - 5.8K bytes - Viewed (0)