Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for SetterMethod (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top