Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for logging (0.23 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. 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)
  3. tensorflow/api_template_v1.__init__.py

    from tensorflow.python.platform import tf_logging as _logging
    from tensorflow.python.util.lazy_loader import LazyLoader as _LazyLoader
    from tensorflow.python.util.lazy_loader import KerasLazyLoader as _KerasLazyLoader
    
    # API IMPORTS PLACEHOLDER
    
    # WRAPPER_PLACEHOLDER
    
    if "dev" in __version__:   # pylint: disable=undefined-variable
      _logging.warning("""
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/c/eager/c_api_experimental_reader_test.cc

    #include "tensorflow/c/eager/c_api_experimental_reader.h"
    
    #include <cstdint>
    
    #include "tensorflow/c/eager/c_api_experimental.h"
    #include "tensorflow/core/platform/logging.h"
    #include "tensorflow/core/platform/test.h"
    
    namespace tensorflow {
    namespace {
    
    TFE_MonitoringCounter0* CreateCounter0(const char* counter_name);
    TFE_MonitoringCounter1* CreateCounter1(const char* counter_name,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/grappler/BUILD

            "//tensorflow/core/grappler/optimizers:custom_graph_optimizer",
            "//tensorflow/core/grappler/optimizers:custom_graph_optimizer_registry",
            "//tensorflow/core/platform:logging",
            "//tensorflow/core/platform:status",
            "@com_google_absl//absl/status",
            "@local_tsl//tsl/platform:env",
            "@local_tsl//tsl/platform:errors",
        ],
    )
    
    tf_cc_test(
    Plain Text
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  7. tensorflow/c/BUILD

                "//tensorflow/core/kernels:logging_ops",
                "@com_google_absl//absl/strings",
            ],
        }),
        alwayslink = 1,
    )
    
    cc_library(
        name = "logging",
        srcs = ["logging.cc"],
        hdrs = ["logging.h"],
        visibility = ["//visibility:public"],
        deps = [
            ":c_api_macros",
            "//tensorflow/core/platform:logging",
            "//tensorflow/core/platform:stringprintf",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top