Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for SetAttrShape (0.1 seconds)

  1. tensorflow/c/eager/c_api_unified_experimental_graph.cc

              "op_type and op_name must be specified before specifying attrs.");
        }
        op_->node_builder.Attr(attr_name, value);
        return absl::OkStatus();
      }
      absl::Status SetAttrShape(const char* attr_name, const int64_t* dims,
                                const int num_dims) override {
        PartialTensorShape shape;
        if (num_dims >= 0) {
          shape = PartialTensorShape(absl::Span<const int64_t>(
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat May 31 07:13:41 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  2. tensorflow/c/eager/gradients.cc

                             DataType value, ForwardOperation* forward_op_) {
      forward_op_->attrs.Set(attr_name, value);
      return op_->SetAttrType(attr_name, value);
    }
    absl::Status SetAttrShape(AbstractOperation* op_, const char* attr_name,
                              const int64_t* dims, const int num_dims,
                              ForwardOperation* forward_op_) {
      if (num_dims > TensorShape::MaxDimensions()) {
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Feb 24 06:18:31 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  3. tensorflow/c/eager/c_api.cc

      }
    }
    
    void TFE_OpSetAttrShape(TFE_Op* op, const char* attr_name, const int64_t* dims,
                            const int num_dims, TF_Status* out_status) {
      out_status->status =
          tensorflow::unwrap(op)->SetAttrShape(attr_name, dims, num_dims);
    }
    
    void TFE_OpSetAttrFunction(TFE_Op* op, const char* attr_name,
                               const TFE_Op* value) {
      auto s = tensorflow::unwrap(op)->SetAttrFunction(
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Nov 07 05:55:21 GMT 2025
    - 43.9K bytes
    - Click Count (0)
Back to Top