- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for OpNameString (0.95 sec)
-
tensorflow/c/experimental/ops/gen/cpp/views/op_view.h
int NumInputs() const; int NumOutputs() const; ArgView OnlyInput() const; ArgView OnlyOutput() const; string FunctionName() const; string VariableName() const; string OpNameString() const; string Summary() const; std::vector<string> Description() const; bool IsListOp() const; private: OpSpec op_; std::vector<ArgView> input_args_; std::vector<ArgView> output_args_;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 15 18:23:40 UTC 2021 - 2K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/renderers/op_implementation_renderer.cc
// Create Op variable and initialize it Statement("AbstractOperationPtr $0(ctx->CreateOperation())", op_.VariableName()); TFStatement(Call(op_.VariableName(), "Reset", {op_.OpNameString(), "raw_device_name"})); TFStatement(Call("MaybeSetOpName", {op_.VariableName() + ".get()", "name"})); // Set each input for (const ArgView& ar : op_.Inputs()) {
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
} ArgView OpView::OnlyOutput() const { CHECK_EQ(output_args_.size(), 1); // Crash OK return output_args_.front(); } string OpView::FunctionName() const { return op_.name(); } string OpView::OpNameString() const { return Quoted(op_.name()); } string OpView::VariableName() const { return "op_ptr"; } std::vector<string> OpView::Description() const { return str_util::Split(op_.description(), "\n"); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 03 07:02:00 UTC 2024 - 3.2K bytes - Viewed (0)