Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AttrNameString (0.2 sec)

  1. tensorflow/c/experimental/ops/gen/cpp/views/attr_view.cc

      if (attr_.full_type() == "string") {
        return {AttrNameString(), VariableName(), VariableStrLen()};
      } else if (attr_.full_type() == "list(string)") {
        return {AttrNameString(), VariableName()};  // accepts span directly
      } else if (attr_.is_list()) {
        return {AttrNameString(), VariableSpanData(), VariableSpanLen()};
      } else {
        return {AttrNameString(), VariableName()};
      }
    }
    
    }  // namespace cpp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/ops/gen/cpp/views/attr_view.h

    namespace tensorflow {
    namespace generator {
    namespace cpp {
    
    class AttrView {
     public:
      explicit AttrView(AttrSpec attr) : attr_(attr) {}
    
      string VariableName() const;
      string VariableType() const;
      string AttrNameString() const;
      string VariableStrLen() const;
      string VariableSpanData() const;
      string VariableSpanLen() const;
      string DefaultValue() const;
      string InputArg(bool with_default_value) const;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 17 17:54:34 UTC 2022
    - 1.5K bytes
    - Viewed (0)
Back to top