- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for SetterMethod (0.17 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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)