- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for AttrView (0.11 sec)
-
tensorflow/c/experimental/ops/gen/cpp/views/attr_view.cc
return "/* ERROR */"; } } string AttrView::VariableStrLen() const { return Call("strlen", {VariableName()}); } string AttrView::VariableSpanData() const { return Call(VariableName(), "data", {}, "."); } string AttrView::VariableSpanLen() const { return Call(VariableName(), "length", {}, "."); } string AttrView::InputArg(bool with_default_value) 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) -
tensorflow/c/experimental/ops/gen/cpp/views/op_argument_view.cc
variable_name_(ArgView(arg).VariableName()) {} OpArgumentView::OpArgumentView(AttrSpec attr) : type_name_(AttrView(attr).VariableType()), variable_name_(AttrView(attr).VariableName()), default_value_(AttrView(attr).DefaultValue()) {} } // namespace cpp } // namespace generator
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 03 07:02:00 UTC 2024 - 2.1K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/views/attr_view.h
#include "tensorflow/c/experimental/ops/gen/model/attr_spec.h" #include "tensorflow/core/platform/types.h" namespace tensorflow { namespace generator { 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;
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/op_view.cc
} const std::vector<ArgView>& OpView::Inputs() const { return input_args_; } const std::vector<ArgView>& OpView::Outputs() const { return output_args_; } const std::vector<AttrView>& OpView::Attributes() const { return argument_attrs_; } const std::vector<OpArgumentView>& OpView::AllArguments() const { return all_arguments_; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 03 07:02:00 UTC 2024 - 3.2K bytes - Viewed (0)