Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for trigger (0.18 sec)

  1. tensorflow/api_template.__init__.py

    setattr(_current_module, "optimizers", _optimizers)
    setattr(_current_module, "initializers", _initializers)
    
    
    # Do an eager load for Keras' code so that any function/method that needs to
    # happen at load time will trigger, eg registration of optimizers in the
    # SavedModel registry.
    # See b/196254385 for more details.
    try:
      if _tf_uses_legacy_keras:
        importlib.import_module("tf_keras.src.optimizers")
      else:
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 06:27:59 GMT 2024
    - 6.7K bytes
    - Viewed (3)
  2. tensorflow/c/c_api_internal.h

      // TF_DeleteSession.
      // TF_Graph may only / must be deleted when
      //   sessions.size() == 0 && delete_requested == true
      //
      // TODO(b/74949947): mutations currently trigger a warning instead of a bad
      // status, this should be reverted when possible.
      tensorflow::gtl::FlatMap<TF_Session*, tensorflow::string> sessions
          TF_GUARDED_BY(mu);
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

              "Operation '", op.node.DebugString(), "' was changed by ",
              mutation_type,
              " after it was run by a session. This mutation will have no effect, "
              "and will trigger an error in the future. Either don't modify "
              "nodes after running them or create a new session.");
        }
      }
    }
    
    namespace {
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_test.cc

      TFE_TensorHandle* retval[1] = {nullptr};
      int num_retvals = 1;
      TFE_Op* op = TFE_NewOp(ctx, "AddFunction", status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      // Add a config_proto attr, to trigger grappler graph rewrites in the current
      // eager runtime.
      if (enable_grappler) {
        tensorflow::ConfigProto config;
        // Do not skip grappler optimization even for small graphs.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  5. tensorflow/c/c_api_experimental.cc

          config.mutable_graph_options()->mutable_optimizer_options();
      if (enable) {
        optimizer_options->set_global_jit_level(tensorflow::OptimizerOptions::ON_1);
    
        // These XLA flags are needed to trigger XLA properly from C (more generally
        // non-Python) clients. If this API is called again with `enable` set to
        // false, it is safe to keep these flag values as is.
        tensorflow::MarkForCompilationPassFlags* flags =
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      status = env_->NewRandomAccessFile(filepath, &read_file);
      if (!status.ok())
        GTEST_SKIP() << "NewRandomAccessFile() not supported: " << status;
    
      char scratch[64 /* must be bigger than test_data */] = {0};
      StringPiece result;
      // read at least 1 byte more than test_data
      status = read_file->Read(0, test_data.size() + 1, &result, scratch);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

      bool compose;
      absl::Mutex block_cache_lock;
      std::shared_ptr<RamFileBlockCache> file_block_cache
          ABSL_GUARDED_BY(block_cache_lock);
      uint64_t block_size;  // Reads smaller than block_size will trigger a read
                            // of block_size.
      std::unique_ptr<ExpiringLRUCache<GcsFileStat>> stat_cache;
      GCSFile(google::cloud::storage::Client&& gcs_client);
      // This constructor is used for testing purpose only.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:37:41 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  8. tensorflow/c/eager/tape.h

    //
    // Then we repeatedly pop an entry from the stack, run its backprop, and update
    // the gradients of its inputs. Once we have computed all gradients for a single
    // input we can mark this input as done, and this can trigger adding an entry to
    // the stack if all outputs of that entry are now done.
    //
    // When the stack is empty we have gradients for all tensors we're interested
    // in.
    
    namespace {
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  9. .bazelrc

    build:nonccl --define=no_nccl_support=true
    
    # Modular TF build options
    build:dynamic_kernels --define=dynamic_loaded_kernels=true
    build:dynamic_kernels --copt=-DAUTOLOAD_DYNAMIC_KERNELS
    
    # Don't trigger --config=<host platform> when cross-compiling.
    build:android --noenable_platform_specific_config
    build:ios --noenable_platform_specific_config
    
    # Suppress all C++ compiler warnings, otherwise build logs become 10s of MBs.
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 23 01:21:54 GMT 2024
    - 53.4K bytes
    - Viewed (2)
  10. .github/workflows/update-nightly.yml

    # See the License for the specific language governing permissions and
    # limitations under the License.
    # ============================================================================
    
    on:
      workflow_dispatch:  # Allow manual triggers
      schedule:
        - cron: 0 4 * * *  # 4am UTC is 9pm PDT and 8pm PST
    name: Set nightly branch to master HEAD
    
    permissions: {}
    
    jobs:
      master-to-nightly:
    Others
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Sep 12 16:45:56 GMT 2023
    - 1.2K bytes
    - Viewed (0)
Back to top