Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Consume (0.25 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.cc

                                  desc->colocation_constraints.end()));
        }
        status->status = desc->node_builder.Finalize(&desc->graph->graph, &ret,
                                                     /*consume=*/true);
    
        if (status->status.ok()) {
          // Run shape inference function for newly added node.
          status->status = desc->graph->refiner.AddNode(ret);
        }
        if (status->status.ok()) {
    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)
  3. tensorflow/c/eager/c_api_unified_experimental.h

                             TF_Status* s);
    
    // Creates a new TF_AbstractFunction from the current tracing states in the
    // context. The provided `ctx` is consumed by this API call and deleted.
    // The returned TF_AbstractFunction must be deleted by the client,
    // TODO(aminim): clarify the contract on the state of the context after this
    // call.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K 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/eager/gradients.h

          absl::Span<const AbstractTensorHandle* const> tensors) const;
      // Unwatches this tensor on the tape. Mainly used for cleanup when deleting
      // eager tensors.
      void DeleteTrace(const AbstractTensorHandle*);
    
      // Consumes the internal state of the tape (so cannot be called more than
      // once unless the tape is persistent) and produces the gradient of the target
      // tensors with respect to the source tensors. The output gradients are used
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  6. 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)
  7. RELEASE.md

    *   Adds new `tf.data.experimental.service.register_dataset` and
        `tf.data.experimental.service.from_dataset_id` APIs to enable one process to
        register a dataset with the tf.data service, and another process to consume
        data from the dataset.
    *   Adds support for dispatcher fault tolerance. To enable fault tolerance,
        configure a `work_dir` when running your dispatcher server and set
    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)
  8. 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)
  9. tensorflow/c/c_api.h

                                                          TF_Status* status);
    
    // In this code:
    //   TF_Output producer = TF_OperationInput(consumer);
    // There is an edge from producer.oper's output (given by
    // producer.index) to consumer.oper's input (given by consumer.index).
    TF_CAPI_EXPORT extern TF_Output TF_OperationInput(TF_Input oper_in);
    
    // Get list of all inputs of a specific operation.  `inputs` must point 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)
Back to top