Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for logging (0.49 sec)

  1. tensorflow/c/eager/custom_device_testutil.h

    limitations under the License.
    ==============================================================================*/
    
    #ifndef TENSORFLOW_C_EAGER_CUSTOM_DEVICE_TESTUTIL_H_
    #define TENSORFLOW_C_EAGER_CUSTOM_DEVICE_TESTUTIL_H_
    
    // A simple logging device to test custom device registration.
    #include <memory>
    
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_experimental.h"
    #include "tensorflow/c/tf_status.h"
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 1.6K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/c/eager/custom_device_testutil.cc

      *device = custom_device;
      LoggingDevice* logging_device = new LoggingDevice;
      logging_device->arrived_flag = arrived_flag;
      logging_device->executed_flag = executed_flag;
      logging_device->device_name = name;
      logging_device->underlying_device =
          "/job:localhost/replica:0/task:0/device:CPU:0";
      logging_device->strict_scope_placement = true;
      *device_info = reinterpret_cast<void*>(logging_device);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 03 20:47:31 GMT 2021
    - 8.3K bytes
    - Viewed (0)
  4. ci/official/wheel_test/test_import_api_packages.py

    TensorFlow API v2 init files and is stored in the wheel file after the build.
    
    See README.md file for "how to run" instruction.
    """
    
    import logging
    import unittest
    import pkg_resources
    
    logging.basicConfig(level=logging.INFO)
    
    
    class ImportApiPackagesTest(unittest.TestCase):
      """ImportApiPackagesTest class. See description at the top of the file."""
    
      def setUp(self):
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 13 15:52:07 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_experimental_test.cc

    #include "tensorflow/core/distributed_runtime/rpc/grpc_server_lib.h"
    #include "tensorflow/core/distributed_runtime/server_lib.h"
    #include "tensorflow/core/lib/monitoring/collection_registry.h"
    #include "tensorflow/core/platform/logging.h"
    #include "tensorflow/core/platform/protobuf.h"
    #include "tensorflow/core/platform/str_util.h"
    #include "tensorflow/core/platform/test.h"
    #include "tensorflow/core/platform/test_benchmark.h"
    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/BUILD

            "//tensorflow:windows": get_win_copts(),
        }),
        deps = [
            ":expiring_lru_cache",
            ":gcs_helper",
            ":ram_file_block_cache",
            "//tensorflow/c:env",
            "//tensorflow/c:logging",
            "//tensorflow/c:tf_status",
            "//tensorflow/c/experimental/filesystem:filesystem_interface",
            "@com_github_googlecloudplatform_google_cloud_cpp//:storage_client",
            "@com_google_absl//absl/strings",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_test_util.h

    #include <vector>
    
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_experimental.h"
    #include "tensorflow/c/tf_datatype.h"
    #include "tensorflow/core/platform/logging.h"
    #include "tensorflow/core/platform/tstring.h"
    #include "tensorflow/core/platform/types.h"
    #include "tensorflow/core/protobuf/tensorflow_server.pb.h"
    
    // Return a tensor handle containing a float scalar
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  8. tensorflow/c/c_api.cc

    #include "tensorflow/cc/framework/scope_internal.h"
    #include "tensorflow/cc/ops/while_loop.h"
    #include "tensorflow/cc/saved_model/loader.h"
    #include "tensorflow/core/distributed_runtime/server_lib.h"
    #include "tensorflow/core/framework/logging.h"
    #include "tensorflow/core/framework/op_gen_lib.h"
    #endif  // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
    #include "tensorflow/c/c_api_internal.h"
    #include "tensorflow/c/tf_buffer_internal.h"
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_test.cc

    #include "tensorflow/core/framework/function.pb.h"
    #include "tensorflow/core/platform/casts.h"
    #include "tensorflow/core/platform/env.h"
    #include "tensorflow/core/platform/logging.h"
    #include "tensorflow/core/platform/macros.h"
    #include "tensorflow/core/platform/protobuf.h"
    #include "tensorflow/core/platform/strcat.h"
    #include "tensorflow/core/platform/test.h"
    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)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

      bool downloaded_block = false;
      auto reconcile_state = MakeCleanup([this, &downloaded_block, &key, &block] {
        // Perform this action in a cleanup callback to avoid locking mu_ after
        // locking block->mu.
        if (downloaded_block) {
          absl::MutexLock l(&mu_);
          // Do not update state if the block is already to be evicted.
          if (block->timestamp != 0) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
Back to top