Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for safety (0.21 sec)

  1. CODE_OF_CONDUCT.md

    
    ## Attribution
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 05 18:43:16 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/gradients/nn_grad_test.cc

      // `gradient_checker` only works with model that returns only 1 tensor.
      // Although, `ops::SparseSoftmaxCrossEntropyWithLogits` returns 2 tensors, the
      // second tensor isn't needed for computing gradient so we could safely drop
      // it.
      outputs[0] = loss;
      backprop->Unref();
      return absl::OkStatus();
    }
    
    Status BiasAddModel(AbstractContext* ctx,
                        absl::Span<AbstractTensorHandle* const> inputs,
    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. ci/official/utilities/code_check_changed_files.bats

    setup_file() {
        bazel version  # Start the bazel server
    
        # Fixes "fatal: detected dubious ownership in repository" for Docker.
        git config --system --add safe.directory '*'
        git config --system protocol.file.allow always
    
        # Note that you could generate a list of all the affected targets with e.g.:
        # bazel query $(paste -sd "+" $BATS_FILE_TMPDIR/changed_files) --keep_going
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 4K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/BUILD

    cc_library(
        name = "parallel_device_lib",
        srcs = [":lib_sources"],
        hdrs = [":lib_headers"],
        visibility = ["//tensorflow:internal"],
        deps = [
            "//tensorflow/c:c_api",
            "//tensorflow/c:safe_ptr",
            "//tensorflow/c:tf_status_internal",
            "//tensorflow/c/eager:c_api",
            "//tensorflow/c/eager:c_api_experimental",
            "//tensorflow/c/eager:tfe_cancellation_manager_internal",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 01 20:19:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      /// the LRU cache, the timestamp (seconds since epoch) at which the block
      /// was cached, a coordination lock, and state & condition variables.
      ///
      /// Thread safety:
      /// The iterator and timestamp fields should only be accessed while holding
      /// the block-cache-wide mu_ instance variable. The state variable should only
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/filesystem_interface.h

    /// be used without recompilation in the widest range of TensorFlow versions.
    ///
    /// The header is divided into sections, as follows:
    ///   1. Opaque plugin private data structures and wrappers for type safety;
    ///   2. Function tables for plugin functionality;
    ///   3. Versioning metadata;
    ///   4. Plugin registration API and the DSO entry point.
    
    #ifdef __cplusplus
    extern "C" {
    #endif  // __cplusplus
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

          : released_(src.is_released()), f_(src.release()) {}
    
      // Implicitly move-constructible from any compatible Cleanup<G>.
      // The source will be released as if src.release() were called.
      // A moved-from Cleanup can be safely destroyed or reassigned.
      template <typename G>
      Cleanup(Cleanup<G>&& src)  // NOLINT
          : released_(src.is_released()), f_(src.release()) {}
    
      // Assignment to a Cleanup object behaves like destroying it
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 11:16:00 GMT 2020
    - 3.4K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/gradients/array_grad_test.cc

      TF_RETURN_IF_ERROR(
          ops::IdentityN(ctx, inputs, absl::MakeSpan(temp_outputs), "IdentityN"));
      // Although, `ops::IdentityN` returns 2 tensors, the first tensor isn't needed
      // for computing gradient so we could safely drop it.
      outputs[0] = temp_outputs[1];
      temp_outputs[0]->Unref();
      return absl::OkStatus();
    }
    
    class CppGradients
        : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> {
     protected:
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      const char* filename;
      int fd;
    } PosixFile;
    
    static void Cleanup(TF_RandomAccessFile* file) {
      auto posix_file = static_cast<PosixFile*>(file->plugin_file);
      close(posix_file->fd);
      // This would be safe to free using `free` directly as it is only opaque.
      // However, it is better to be consistent everywhere.
      plugin_memory_free(const_cast<char*>(posix_file->filename));
      delete posix_file;
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  10. tensorflow/c/eager/tape.h

      // (now inaccessible) corresponding JVPs, but ForwardAccumulator's destructor
      // will release remaining references.
      //
      // This method is not thread-safe (and in general ForwardAccumulator is not
      // thread-safe).
      Status Accumulate(
          const string& op_type, const std::vector<TapeTensor>& input_tensors,
          const std::vector<TapeTensor>& output_tensors,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
Back to top