Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for set_stderrthreshold (0.18 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common.py

      # Make LOG(ERROR) in C++ code show up on the console.
      # All `Status` passed around in the C++ API seem to eventually go into
      # `LOG(ERROR)`, so this makes them print out by default.
      logging.set_stderrthreshold('error')
    
      # In true TF2 releases, v2 behavior is enabled as part of module __init__. In
      # TF1 builds, it must be enabled manually. If you get an error here,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 23:49:27 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common_v1.py

      """
    
      # Make LOG(ERROR) in C++ code show up on the console.
      # All `Status` passed around in the C++ API seem to eventually go into
      # `LOG(ERROR)`, so this makes them print out by default.
      logging.set_stderrthreshold('error')
    
      def app_main(argv):
        """Function passed to absl.app.run."""
        if len(argv) > 1:
          raise app.UsageError('Too many command-line arguments.')
        if FLAGS.save_model_path:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 20 13:19:26 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top