Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for requested (0.17 sec)

  1. tensorflow/c/c_api_internal.h

      // 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);
      bool delete_requested TF_GUARDED_BY(mu);  // set true by TF_DeleteGraph
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

        if (TF_GetCode(status) != TF_OK) return -1;
        // Copy the relevant portion of the block into the result buffer.
        const auto& data = block->data;
        if (offset >= pos + data.size()) {
          // The requested offset is at or beyond the end of the file. This can
          // happen if `offset` is not block-aligned, and the read returns the last
          // block in the file, which does not extend all the way out to `offset`.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

        // 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`.
        int64_t r = int64_t{pread(posix_file->fd, dst, requested_read_length,
    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/experimental/grappler/grappler.h

    // least `storage_size` bytes in length.  `num_values` and `storage` can be
    // obtained from TF_GetNodesToPreserveSize
    //
    // Fails if storage_size is too small to hold the requested number of strings.
    TF_CAPI_EXPORT extern void TF_GetNodesToPreserveList(
        const TF_GrapplerItem* item, char** values, size_t* lengths, int num_values,
        void* storage, size_t storage_size, TF_Status* status);
    
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/grappler/grappler.cc

        if ((p + s.size()) > (static_cast<char*>(storage) + storage_size)) {
          tsl::Set_TF_Status_from_Status(
              status,
              absl::InvalidArgumentError(
                  "Not enough storage to hold the requested list of nodes"));
          return;
        }
        memcpy(values[index], s.data(), s.size());
        p += s.size();
        index++;
      }
    }
    
    void TF_GetFetchNodesListSize(const TF_GrapplerItem* item, int* num_values,
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  6. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

        if (!user_schemes->empty()) {
          auto is_requested_scheme = [user_schemes](const auto& scheme) {
            return std::find(user_schemes->begin(), user_schemes->end(), scheme) ==
                   user_schemes->end();
          };
          auto end = std::remove_if(all_schemes->begin(), all_schemes->end(),
                                    is_requested_scheme);
          all_schemes->erase(end, all_schemes->end());
        }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  7. tensorflow/c/c_api.cc

    }
    
    const char* TF_OperationOpType(TF_Operation* oper) {
      return oper->node.type_string().c_str();
    }
    
    const char* TF_OperationDevice(TF_Operation* oper) {
      return oper->node.requested_device().c_str();
    }
    
    int TF_OperationNumOutputs(TF_Operation* oper) {
      return oper->node.num_outputs();
    }
    
    TF_DataType TF_OperationOutputType(TF_Output oper_out) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/custom_device_testutil.cc

                              void* device_info) {
      const char* requested_placement = TFE_OpGetDevice(original_op, s);
      if (TF_GetCode(s) != TF_OK) return;
    
      LoggingDevice* dev = reinterpret_cast<LoggingDevice*>(device_info);
      if (dev->strict_scope_placement && *requested_placement == '\0') {
        TF_SetStatus(s, TF_INTERNAL,
    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)
  9. .github/workflows/create_issue.js

        throw `PR:{pr_number} needs to be valid and closed (merged)`;
      }
      const pr_title = pr_resp.data.title;
      // Assign to PR owner and reviewers
      const assignees = pr_resp.data.assignees.concat(pr_resp.data.requested_reviewers);
      let assignee_logins = assignees.map(x => x.login);
      assignee_logins.push(pr_resp.data.user.login);
      console.log(assignee_logins);
      // Create an new GH Issue and reference the Original PR
    JavaScript
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Oct 18 23:04:59 GMT 2021
    - 2.8K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_experimental.h

      // or construct a transformed version, by inspecting the passed `op`.
      //
      // TFE_OpGetDevice(op) records the original placement of the operation. It may
      // be an empty string if no device was explicitly requested, but will
      // otherwise be the name of this custom device. Ops are placed onto a custom
      // device if any of their inputs are on that custom device, but custom devices
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
Back to top