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