Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for VariableStrLen (0.11 sec)

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

        case AttrValue::kTensor:
        case AttrValue::kFunc:
        case AttrValue::kPlaceholder:
          LOG(ERROR) << "Unexpected non-primitive attribute value.";
          return "/* ERROR */";
      }
    }
    
    string AttrView::VariableStrLen() const {
      return Call("strlen", {VariableName()});
    }
    
    string AttrView::VariableSpanData() const {
      return Call(VariableName(), "data", {}, ".");
    }
    
    string AttrView::VariableSpanLen() const {
    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 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;
      string SetterMethod() 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