Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for max (0.4 sec)

  1. tensorflow/c/c_api.cc

      return {ToOperation(edge->src()), edge->src_output()};
    }
    
    void TF_OperationAllInputs(TF_Operation* oper, TF_Output* inputs,
                               int max_inputs) {
      for (auto* edge : oper->node.in_edges()) {
        if (edge->dst_input() >= 0 && edge->dst_input() < max_inputs) {
          inputs[edge->dst_input()] = {ToOperation(edge->src()),
                                       edge->src_output()};
        }
      }
    }
    
    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)
  2. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      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)
  3. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

                            const TFE_OpAttrs* attributes, int expected_max_outputs,
                            TF_Status* status) const {
      std::vector<PartialTensorShape> expected_output_shapes(expected_max_outputs);
      StartExecute(context, inputs, operation_name, attributes,
                   expected_max_outputs, *default_cancellation_manager_);
      auto result = Join(expected_output_shapes, status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  4. tensorflow/c/c_api_function.cc

      return g->graph.flib_def().num_functions();
    }
    
    int TF_GraphGetFunctions(TF_Graph* g, TF_Function** funcs, int max_func,
                             TF_Status* status) {
      tensorflow::FunctionDefLibrary lib;
      {
        tensorflow::mutex_lock l(g->mu);
        lib = g->graph.flib_def().ToProto();
      }
      const auto len = std::min(max_func, static_cast<int>(lib.function_size()));
      for (int i = 0; i < len; ++i) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
Back to top