Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for SetAttrTypeList (0.08 seconds)

  1. tensorflow/c/eager/gradients.cc

    }
    absl::Status SetAttrTypeList(AbstractOperation* op_, const char* attr_name,
                                 const DataType* values, int num_values,
                                 ForwardOperation* forward_op_) {
      forward_op_->attrs.Set(attr_name,
                             gtl::ArraySlice<const DataType>(values, num_values));
      return op_->SetAttrTypeList(attr_name, values, num_values);
    }
    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)
  2. tensorflow/c/eager/c_api.cc

      }
    }
    
    void TFE_OpSetAttrTypeList(TFE_Op* op, const char* attr_name,
                               const TF_DataType* values, int num_values) {
      auto s = tensorflow::unwrap(op)->SetAttrTypeList(
          attr_name, reinterpret_cast<const tensorflow::DataType*>(values),
          num_values);
      if (!s.ok()) {
        LOG(WARNING) << "Unable to set attribute: " << attr_name;
      }
    }
    
    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