Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for test_0 (0.17 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      char scratch[64 /* big enough for test_data and more_test_data */] = {0};
      StringPiece result;
      status = read_file->Read(0, test_data.size() + more_test_data.size(), &result,
                               scratch);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK);
      EXPECT_EQ(test_data + more_test_data, result);
      EXPECT_EQ(
          read_file->Read(test_data.size(), more_test_data.size(), &result, scratch)
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/gradients/nn_grad_test.cc

    ==============================================================================*/
    #include "tensorflow/c/experimental/gradients/nn_grad.h"
    
    #include "tensorflow/c/eager/c_api_test_util.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/nn_ops.h"
    #include "tensorflow/c/tf_status_helper.h"
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

          .SetShapeFn(tensorflow::shape_inference::UnknownShape)
    ATTR_TEST_REGISTER_OP(string);
    ATTR_TEST_REGISTER_OP(int);
    ATTR_TEST_REGISTER_OP(float);
    ATTR_TEST_REGISTER_OP(bool);
    ATTR_TEST_REGISTER_OP(type);
    ATTR_TEST_REGISTER_OP(shape);
    ATTR_TEST_REGISTER_OP(tensor);
    #undef ATTR_TEST_REGISTER_OP
    
    class CApiAttributesTest : public ::testing::Test {
     protected:
      CApiAttributesTest()
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  4. tensorflow/c/eager/c_api_test.cc

          /*forward_input*/ true,
          /*tfrt*/ false);
    }
    TEST(CAPI, ExecuteAddForwardAsync) {
      ExecuteAdd(
          /*async=*/true,
          /*forward_input*/ true,
          /*tfrt*/ false);
    }
    #ifdef PLATFORM_GOOGLE
    // TODO(b/153349425): Add forwarding tests for TFRT
    // TODO(b/178003466): Fix and re-enable.
    TEST(CAPI, DISABLED_ExecuteAddTfrt) {
      ExecuteAdd(
          /*async=*/false,
          /*forward_input*/ false,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  5. tensorflow/c/eager/c_api_experimental_test.cc

      EXPECT_EQ("test/gauge", metrics->point_set_map.at("test/gauge")->metric_name);
      EXPECT_EQ(1,
                metrics->point_set_map.at("test/gauge")->points.at(0)->int64_value);
    
      TFE_MonitoringIntGaugeCellSet(cell, 5);
      metrics = collection_registry->CollectMetrics(options);
      EXPECT_EQ(5,
                metrics->point_set_map.at("test/gauge")->points.at(0)->int64_value);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc

    #include <memory>
    
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/c/tf_status_internal.h"
    #include "tensorflow/core/lib/core/status_test_util.h"
    #include "tensorflow/core/platform/cloud/now_seconds_env.h"
    #include "tensorflow/core/platform/test.h"
    
    namespace tensorflow {
    namespace {
    
    TEST(ExpiringLRUCacheTest, MaxAge) {
      const string key = "a";
      std::unique_ptr<NowSecondsEnv> env(new NowSecondsEnv);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 7.1K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      for (int i = 0; i < 2; i++) {
        for (int j = 0; j < block_count; j++) {
          TF_EXPECT_OK(ReadCache(&cache, "", block_size * j, block_size, &out));
        }
      }
    }
    
    TEST(RamFileBlockCacheTest, OutOfRange) {
      // Tests reads of a 24-byte file with block size 16.
      const size_t block_size = 16;
      const size_t file_size = 24;
      bool first_block = false;
      bool second_block = false;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_unified_experimental_test.cc

    #include "tensorflow/core/platform/errors.h"
    #include "tensorflow/core/platform/status.h"
    #include "tensorflow/core/platform/test.h"
    
    using tensorflow::Status;
    using tensorflow::string;
    using tensorflow::TF_StatusPtr;
    
    namespace tensorflow {
    namespace {
    
    // The tests are parameterized on:
    // - a string representing the tracing implementation: "mlir" or "graphdef".
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_remote_test_util.h

    limitations under the License.
    ==============================================================================*/
    #ifndef TENSORFLOW_C_EAGER_C_API_REMOTE_TEST_UTIL_H_
    #define TENSORFLOW_C_EAGER_C_API_REMOTE_TEST_UTIL_H_
    
    // Run a function containing a MatMul op and check its output.
    // If heavy_load_on_streaming_rpc is true, send some rpc requests before the one
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 22:56:03 GMT 2020
    - 1.4K bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/devel.usertools/test.requirements.txt

    # Test dependencies for pip tests
    grpcio ~= 1.42.0
    portpicker ~= 1.5.2
    scipy ~= 1.7.3
    jax ~= 0.2.26
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 117 bytes
    - Viewed (0)
Back to top