Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Consumer (0.17 sec)

  1. tensorflow/c/c_api_test.cc

      EXPECT_EQ(attr_value.i(), 2);
    
      // Placeholder oper now has a consumer.
      ASSERT_EQ(1, TF_OperationOutputNumConsumers(TF_Output{feed, 0}));
      TF_Input feed_port;
      EXPECT_EQ(1, TF_OperationOutputConsumers(TF_Output{feed, 0}, &feed_port, 1));
      EXPECT_EQ(add, feed_port.oper);
      EXPECT_EQ(0, feed_port.index);
    
      // The scalar const oper also has a consumer.
      ASSERT_EQ(1, TF_OperationOutputNumConsumers(TF_Output{three, 0}));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  2. tensorflow/c/c_api.h

    // Get the number of current consumers of a specific output of an
    // operation.  Note that this number can change when new operations
    // are added to the graph.
    TF_CAPI_EXPORT extern int TF_OperationOutputNumConsumers(TF_Output oper_out);
    
    // Get list of all current consumers of a specific output of an
    // operation.  `consumers` must point to an array of length at least
    // `max_consumers` (ideally set to
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  3. tensorflow/c/c_api.cc

      }
      return count;
    }
    
    int TF_OperationOutputConsumers(TF_Output oper_out, TF_Input* consumers,
                                    int max_consumers) {
      int count = 0;
      for (const auto* edge : oper_out.oper->node.out_edges()) {
        if (edge->src_output() == oper_out.index) {
          if (count < max_consumers) {
            consumers[count] = {ToOperation(edge->dst()), edge->dst_input()};
          }
          ++count;
        }
    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)
  4. tensorflow/c/eager/gradients.cc

      ~TapeVSpace() override {}
    
      // Returns the number of elements in the gradient tensor.
      int64_t NumElements(AbstractTensorHandle* tensor) const override;
    
      // Consumes references to the tensors in the gradient_tensors list and returns
      // a tensor with the result.
      AbstractTensorHandle* AggregateGradients(
          gtl::ArraySlice<AbstractTensorHandle*> gradient_tensors) const override;
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

          memcpy(buffer,
                 gcs_file->buffer.data() + (offset - gcs_file->buffer_start),
                 copy_size);
        }
        bool consumed_buffer_to_eof =
            offset + copy_size >= buffer_end && gcs_file->buffer_end_is_past_eof;
        if (copy_size < n && !consumed_buffer_to_eof) {
          gcs_file->buffer_start = offset + copy_size;
          gcs_file->buffer.resize(gcs_file->buffer_size);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  6. RELEASE.md

            SavedModel.
        *   The user object metadata field in the SavedModel proto has been
            deprecated as part of the updates to Keras SavedModel. Keras was the
            only consumer of this field prior to the update.
    *   GPU
        *   TF 2.3 includes PTX kernels only for
            [compute capability](https://developer.nvidia.com/cuda-gpus) 7.0 to
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  7. tensorflow/c/eager/tape.h

    class VSpace {
     public:
      virtual ~VSpace() {}
    
      // Returns the number of elements in the gradient tensor.
      virtual int64_t NumElements(Gradient* tensor) const = 0;
    
      // Consumes references to the tensors in the gradient_tensors list and returns
      // a tensor with the result.
      virtual Gradient* AggregateGradients(
          gtl::ArraySlice<Gradient*> gradient_tensors) const = 0;
    
    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