Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for SetterMethod (0.15 sec)

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

      string VariableStrLen() const;
      string VariableSpanData() const;
      string VariableSpanLen() const;
      string DefaultValue() const;
      string InputArg(bool with_default_value) const;
      string SetterMethod() const;
      std::vector<string> SetterArgs() const;
    
     private:
      AttrSpec attr_;
    };
    
    }  // namespace cpp
    }  // namespace generator
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 17 17:54:34 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/ops/gen/cpp/renderers/op_implementation_renderer.cc

      // Set each input
      for (const ArgView& ar : op_.Inputs()) {
        TFStatement(Call(op_.VariableName(), ar.SetterMethod(), ar.SetterArgs()));
      }
      // Set each attribute
      for (const AttrView& ar : op_.Attributes()) {
        TFStatement(Call(op_.VariableName(), ar.SetterMethod(), ar.SetterArgs()));
      }
    }
    
    void OpImplementationRenderer::RenderExecutionListOp() {
      ArgView output_arg = op_.OnlyOutput();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 05:51:40 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

            PropertyMetaData property = getProperty(name);
            property.setType(type);
            property.setRawCommentText(rawCommentText);
            property.setGetter(getterMethod);
            return property;
        }
    
        public PropertyMetaData addWriteableProperty(String name, TypeMetaData type, String rawCommentText, MethodMetaData setterMethod) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 10.1K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/ops/gen/cpp/views/arg_view.h

    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    namespace generator {
    namespace cpp {
    
    class ArgView {
     public:
      explicit ArgView(ArgSpec arg);
    
      string VariableName() const;
      string SetterMethod() const;
      std::vector<string> SetterArgs() const;
      int Position() const;
    
      bool IsList() const;
    
     private:
      ArgSpec arg_;
    };
    
    }  // namespace cpp
    }  // namespace generator
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 18:23:40 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/ops/gen/cpp/views/arg_view.cc

    namespace tensorflow {
    namespace generator {
    namespace cpp {
    
    ArgView::ArgView(ArgSpec arg) : arg_(arg) {}
    
    string ArgView::VariableName() const { return arg_.name(); }
    
    string ArgView::SetterMethod() const {
      if (IsList()) {
        return "AddInputList";
      } else {
        return "AddInput";
      }
    }
    
    std::vector<string> ArgView::SetterArgs() const { return {VariableName()}; }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescSyntheticJavaPropertySymbolForOverride.kt

        override val javaGetterSymbol: KaFunctionSymbol
            get() = withValidityAssertion { KaFe10DescFunctionSymbol.build(descriptor.getterMethod, analysisContext) }
    
        override val javaSetterSymbol: KaFunctionSymbol?
            get() = withValidityAssertion {
                val setMethod = descriptor.setterMethod ?: return null
                return KaFe10DescFunctionSymbol.build(setMethod, analysisContext)
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/ops/gen/cpp/views/attr_view.cc

        return absl::Substitute("$0 $1", VariableType(), attr_.name());
      }
      return absl::Substitute("$0 $1 = $2", VariableType(), attr_.name(),
                              default_value);
    }
    
    string AttrView::SetterMethod() const {
      if (!attr_.is_list()) {
        return absl::StrCat("SetAttr", toUpperCamel(attr_.full_type()));
      } else {
        return absl::StrCat("SetAttr", toUpperCamel(attr_.base_type()), "List");
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStore.java

        private void validateSetterForMutableType(Method setterMethod, PropertyAccessorType setterAccessorType, TypeValidationContext validationContext, String propertyName) {
            Class<?> setterType = setterAccessorType.propertyTypeFor(setterMethod);
            if (isSetterProhibitedForType(setterType)) {
                validationContext.visitPropertyProblem(problem ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/JavaPropertyReflectionUtil.java

            final Method getterMethod = findGetterMethod(target, property);
            if (getterMethod == null) {
                throw new NoSuchPropertyException(String.format("Could not find getter method for property '%s' on class %s.", property, target.getSimpleName()));
            }
            return new GetterMethodBackedPropertyAccessor<T, F>(property, returnType, getterMethod);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.4K bytes
    - Viewed (0)
Back to top