- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for _test (0.31 sec)
-
tensorflow/c/eager/dlpack_test.cc
#include "tensorflow/c/eager/dlpack.h" #include <vector> #include "absl/strings/str_join.h" #include "include/dlpack/dlpack.h" // from @dlpack #include "tensorflow/c/eager/c_api.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { void TestHandleFromDLPack(TF_Status* status, TFE_Context* ctx, std::vector<int64_t> shape, std::vector<int64_t> strides) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Jun 30 03:04:46 GMT 2023 - 4.4K bytes - Viewed (0) -
tensorflow/c/env_test.cc
#include "tensorflow/c/c_api.h" #include "tensorflow/core/lib/io/path.h" #include "tensorflow/core/platform/mutex.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/types.h" #define ASSERT_TF_OK(x) ASSERT_EQ(TF_OK, TF_GetCode(x)) TEST(TestEnv, TestDirHandling) { TF_StringStream* tempdirs = TF_GetLocalTempDirectories(); const char* tempdir; bool found = false;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Dec 10 20:52:48 GMT 2018 - 4.2K bytes - Viewed (0) -
tensorflow/c/eager/gradients_test.cc
"or NotDifferentiableGradientFunction.", s.message()); ASSERT_EQ(nullptr, outputs[0]); } // TODO(b/164171226): Enable this test with tfrt after AddInputList is // supported. It is needed for IdentityN. #ifdef PLATFORM_GOOGLE INSTANTIATE_TEST_SUITE_P( UnifiedCAPI, CppGradients, ::testing::Combine(::testing::Values("graphdef", "mlir"), /*tfrt*/ ::testing::Values(false),
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 7K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler_test.cc
#include "tensorflow/core/grappler/costs/graph_properties.h" #include "tensorflow/core/grappler/grappler_item.h" #include "tensorflow/core/grappler/inputs/trivial_test_graph_input_yielder.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace grappler { namespace { void optimize_func(void* optimizer, const TF_Buffer* graph_buf,
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Thu Apr 13 22:30:58 GMT 2023 - 11.6K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/math_grad_test.cc
#include "tensorflow/c/experimental/gradients/math_grad.h" #include "tensorflow/c/eager/c_api_test_util.h" #include "tensorflow/c/eager/c_api_unified_experimental_internal.h" #include "tensorflow/c/eager/unified_api_testutil.h" #include "tensorflow/c/experimental/gradients/grad_test_helper.h" #include "tensorflow/c/experimental/gradients/tape/tape_context.h" #include "tensorflow/c/experimental/ops/math_ops.h"
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Thu Apr 13 17:32:14 GMT 2023 - 16.3K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/custom_gradient_test.cc
auto result_value = static_cast<float*>(TF_TensorData(result_tensor)); EXPECT_EQ(*result_value, 1.0); outputs[0]->Unref(); TF_DeleteTensor(result_tensor); result_tensor = nullptr; } INSTANTIATE_TEST_SUITE_P( CustomGradientTest, CustomGradientTest, ::testing::Combine(::testing::Values("graphdef", "mlir"), /*tfrt*/ ::testing::Values(false),
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 4.8K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/grad_test_helper.cc
==============================================================================*/ #include "tensorflow/c/experimental/gradients/grad_test_helper.h" #include "tensorflow/c/eager/gradient_checker.h" #include "tensorflow/c/experimental/gradients/tape/tape_context.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace gradients { namespace internal { void CompareNumericalAndAutodiffGradients(
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 5K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/array_grad_test.cc
#include "tensorflow/c/experimental/gradients/array_grad.h" #include "tensorflow/c/eager/c_api_test_util.h" #include "tensorflow/c/eager/c_api_unified_experimental_internal.h" #include "tensorflow/c/eager/unified_api_testutil.h" #include "tensorflow/c/experimental/gradients/grad_test_helper.h" #include "tensorflow/c/experimental/gradients/tape/tape_context.h" #include "tensorflow/c/experimental/ops/array_ops.h"
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_debug_test.cc
==============================================================================*/ #include "tensorflow/c/eager/c_api.h" #include <string.h> #include "tensorflow/c/eager/c_api_test_util.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/test.h" TEST(CApiDebug, ScalarCPU) { TF_Status* status = TF_NewStatus(); TFE_ContextOptions* opts = TFE_NewContextOptions(); TFE_Context* ctx = TFE_NewContext(opts, status);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 06 22:10:09 GMT 2020 - 2.3K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #include "tensorflow/c/c_test_util.h" #include "tensorflow/c/c_api_experimental.h" #include "tensorflow/core/framework/function.pb.h" #include "tensorflow/core/framework/op_def.pb.h" #include "tensorflow/core/framework/tensor.pb.h"
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:52 GMT 2021 - 17.8K bytes - Viewed (2)