- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for node_builder1 (0.18 sec)
-
tensorflow/cc/ops/const_op.h
#include "tensorflow/cc/framework/scope.h" #include "tensorflow/core/graph/node_builder.h" namespace tensorflow { namespace ops { /// @defgroup const_op Const Op /// @{ Output Const(const Scope& scope, const Input::Initializer& val); Output ConstFromProto(const Scope& scope, const TensorProto& proto); NodeBuilder::NodeOut AsNodeOut(const Scope& scope, const Input& inp); template <typename T>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 17 09:17:01 UTC 2020 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/dump_graph_test.cc
==============================================================================*/ #include "tensorflow/compiler/mlir/tensorflow/utils/dump_graph.h" #include "tensorflow/core/graph/graph.h" #include "tensorflow/core/graph/node_builder.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/lib/io/path.h" #include "tensorflow/core/platform/env.h" #include "tensorflow/core/platform/test.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/jit/cluster_scoping_pass_test.cc
.WithAttr("dtypes", std::move(dtypes)); if (opts.HaveError()) { return nullptr; } NodeBuilder node_builder(name, "Stage", opts.op_registry()); node_builder.Input(values); return opts.FinalizeBuilder(&node_builder); } TEST(XlaCompilationTest, StagePipelinePreserved) { std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); { // Graph:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 29 16:20:48 UTC 2020 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_compile_util.cc
#include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/resource_mgr.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/core/graph/algorithm.h" #include "tensorflow/core/graph/node_builder.h" #include "tensorflow/core/tfrt/common/global_state.h" #include "tensorflow/core/util/determinism.h" namespace tensorflow { namespace { constexpr const char* kPjRtDeviceCompilerResourceName = "pjrt_device_compiler";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/c/kernels/summary_op_benchmark_test.cc
#include <string> #include "tensorflow/core/common_runtime/kernel_benchmark_testlib.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/graph/node_builder.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/test_benchmark.h" namespace tensorflow { namespace { Graph* BM_ScalarSummaryOp(TensorShape shape, std::string tag, float value) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Nov 25 00:59:20 UTC 2020 - 2.7K bytes - Viewed (0) -
tensorflow/cc/ops/while_loop.cc
// not-yet-created next iteration nodes). Use the underlying NodeBuilder API // directly to create the back edge. NodeBuilder::NodeOut enter_input(enter_output.node(), enter_output.index()); const int next_output_index = 0; DataType dtype = enter_output.node()->output_type(0); NodeBuilder::NodeOut next_input(NextIterationName(scope, loop_var_idx),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 01:01:21 UTC 2024 - 9.5K bytes - Viewed (0) -
tensorflow/c/c_api_internal.h
}; struct TF_OperationDescription { TF_OperationDescription(TF_Graph* g, const char* op_type, const char* node_name) : node_builder(node_name, op_type, g->graph.op_registry()), graph(g) {} tensorflow::NodeBuilder node_builder; TF_Graph* graph; std::set<tensorflow::string> colocation_constraints; }; struct TF_Operation { tensorflow::Node node; private:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat May 13 00:49:12 UTC 2023 - 7.6K bytes - Viewed (0) -
tensorflow/cc/ops/const_op.cc
} NodeBuilder::NodeOut AsNodeOut(const Scope& scope, const Input& inp) { if (!inp.status().ok()) { scope.UpdateStatus(inp.status()); return NodeBuilder::NodeOut(inp.node(), inp.index()); } if (inp.node()) { return NodeBuilder::NodeOut(inp.node(), inp.index()); } if (!inp.node_name().empty()) { return NodeBuilder::NodeOut(inp.node_name(), inp.index(), inp.data_type());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 03 20:58:54 UTC 2017 - 2.7K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/test_utils.go
"k8s.io/utils/ptr" ) type nodeBuilder struct { *v1.Node } func makeNode(name string) nodeBuilder { return nodeBuilder{Node: &v1.Node{ ObjectMeta: metav1.ObjectMeta{ Name: name, Labels: map[string]string{ v1.LabelHostname: name, }, }, }} } func (nb nodeBuilder) withLabel(key, value string) nodeBuilder { if nb.Node.ObjectMeta.Labels == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 13 07:42:19 UTC 2023 - 4.9K bytes - Viewed (0) -
tensorflow/cc/framework/cc_op_gen_util.h
const ApiDef& api_def, const std::unordered_map<string, string>& inferred_input_attrs); struct OpInfo { // graph_op_def: The OpDef used by the runtime, has the names that // must be used when calling NodeBuilder. // interface_op_def: The OpDef used in the interface in the generated // code, with possibly overridden names and defaults. OpInfo(const OpDef& graph_op_def, const ApiDef& api_def,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 00:57:05 UTC 2024 - 4.6K bytes - Viewed (0)