Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for preact (0.2 sec)

  1. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_helper.cc

      // When creating file, use the same permissions as original
      mode_t open_mode = mode & (S_IRWXU | S_IRWXG | S_IRWXO);
    
      // O_WRONLY | O_CREAT | O_TRUNC:
      //   Open file for write and if file does not exist, create the file.
      //   If file exists, truncate its size to 0.
      int dst_fd = open(dst, O_WRONLY | O_CREAT | O_TRUNC, open_mode);
      if (dst_fd < 0) {
        close(src_fd);
        return -1;
      }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jan 16 05:36:52 GMT 2020
    - 2.1K bytes
    - Viewed (1)
  2. tensorflow/c/c_op_requires.h

    #define C_OPKERNELCONTEXT_REQUIRES_OK(CTX, C_STATUS, __VA_ARGS__) \
      do {                                                            \
        ::tensorflow::Status _s(__VA_ARGS__);                         \
        if (!TF_PREDICT_TRUE(_s.ok())) {                              \
          ::tensorflow::Set_TF_Status_from_Status(C_STATUS, _s);      \
          TF_OpKernelContext_Failure(CTX, C_STATUS);                  \
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Aug 02 21:35:06 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      int64_t read = 0;
    
      while (n > 0) {
        // Some platforms, notably macs, throw `EINVAL` if `pread` is asked to read
        // more than fits in a 32-bit integer.
        size_t requested_read_length;
        if (n > INT32_MAX)
          requested_read_length = INT32_MAX;
        else
          requested_read_length = n;
    
        // `pread` returns a `ssize_t` on POSIX, but due to interface being
        // cross-platform, return type of `Read` is `int64_t`.
    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)
  4. tensorflow/c/eager/tape.h

          // it (e.g. conds instead of ifs). The value shouldn't really matter.
          TF_RETURN_IF_ERROR(vspace_.BuildOnesLike(output_tensor, &aid));
        }
        if (TF_PREDICT_FALSE(aid == nullptr)) {
          return tensorflow::errors::Internal(
              "Failed to create ones tensor for tensor ", output_tensor.GetID(),
              " with dtype ", output_tensor.GetDType());
        }
    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)
  5. configure.py

                                        var_default):
      """Get var_name either from env, or user or default.
    
      If var_name has been set as environment variable, use the preset value, else
      ask for user input. If no input is provided, the default is used.
    
      Args:
        environ_cp: copy of the os.environ.
        var_name: string for name of environment variable, e.g. "TF_NEED_CUDA".
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  6. RELEASE.md

        *   `Model.fit_generator`, `Model.evaluate_generator`,
            `Model.predict_generator`, `Model.train_on_batch`,
            `Model.test_on_batch`, and `Model.predict_on_batch` methods now respect
            the `run_eagerly` property, and will correctly run using `tf.function`
            by default. Note that `Model.fit_generator`, `Model.evaluate_generator`,
            and `Model.predict_generator` are deprecated endpoints. They are
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Apr 03 20:27:38 GMT 2024
    - 727.4K bytes
    - Viewed (8)
  7. tensorflow/BUILD

            "//learning/lib/ami/simple_ml/...",
            "//learning/pathways/...",
            "//learning/serving/contrib/tfrt/mlir/canonical_ops/...",
            "//learning/serving/experimental/remote_predict/...",
            "//perftools/accelerators/xprof/convert/...",
            "//perftools/accelerators/xprof/integration_tests/...",
            "//smartass/brain/configure/...",
            "//tensorflow/...",
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (6)
Back to top