Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 85 for node_def (0.19 sec)

  1. tensorflow/compiler/jit/partially_decluster_pass.cc

    #include "tensorflow/core/common_runtime/function.h"
    #include "tensorflow/core/framework/function.h"
    #include "tensorflow/core/framework/memory_types.h"
    #include "tensorflow/core/framework/node_def.pb.h"
    #include "tensorflow/core/framework/op_kernel.h"
    #include "tensorflow/core/graph/graph_node_util.h"
    #include "tensorflow/core/lib/core/errors.h"
    #include "tensorflow/core/public/version.h"
    
    namespace tensorflow {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/device_compiler_test.cc

    TEST_F(OpsTestBase, CompileSingleOpSuccess) {
      TF_EXPECT_OK(NodeDefBuilder("identity_op", "Identity")
                       .Input(FakeInput(DT_FLOAT))
                       .Attr("T", DT_FLOAT)
                       .Finalize(node_def()));
      TF_EXPECT_OK(InitOp());
      AddInputFromArray<float>(TensorShape({1, 2}), {6.9, 4.2});
      TF_EXPECT_OK(RunOpKernel());
    
      auto xla_device_compiler = CreateXlaDeviceCompiler();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_function.cc

    #include "tensorflow/core/framework/function.h"
    #include "tensorflow/core/framework/function.pb.h"
    #include "tensorflow/core/framework/graph_to_functiondef.h"
    #include "tensorflow/core/framework/node_def.pb.h"
    #include "tensorflow/core/framework/node_def_util.h"
    #include "tensorflow/core/framework/tensor.pb.h"  // NOLINT
    #include "tensorflow/core/framework/types.h"
    #include "tensorflow/core/graph/graph.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/resource_operation_safety_analysis.cc

    #include "absl/strings/str_join.h"
    #include "absl/types/optional.h"
    #include "tensorflow/compiler/jit/xla_cluster_util.h"
    #include "tensorflow/compiler/tf2xla/resource_operation_table.h"
    #include "tensorflow/core/framework/node_def.pb.h"
    #include "tensorflow/core/graph/algorithm.h"
    #include "tensorflow/core/graph/tensor_id.h"
    #include "tensorflow/core/lib/hash/hash.h"
    
    namespace tensorflow {
    namespace {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/build_xla_ops_pass.cc

                                         old_node->out_edges().end());
      for (const Edge* edge : out_edges) {
        // TODO(sanjoy): This does not update NodeDef inputs.  To be able to update
        // NodeDef inputs we first need to fix encapsulate_subgraphs_pass to fix up
        // the NodeDef inputs to the function call nodes.
        g->AddEdge(new_node, edge->src_output(), edge->dst(), edge->dst_input());
        g->RemoveEdge(edge);
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.cc

    #include "tensorflow/compiler/mlir/tensorflow/translate/mlir_import_options.h"
    #include "tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.h"
    #include "tensorflow/core/framework/graph.pb.h"
    #include "tensorflow/core/framework/node_def.pb.h"
    #include "tensorflow/core/protobuf/meta_graph.pb.h"
    #include "tensorflow/core/protobuf/saver.pb.h"
    #include "tsl/platform/errors.h"
    #include "tsl/platform/statusor.h"
    
    namespace tensorflow {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

            op_count += self._count_op_with_name_and_attribute(
                nodes=func.node_def,
                op_name=op_name,
                attr_name=attr_name,
                attr_val=attr_val,
                get_op_name=get_op_name,
            )
        return op_count
    
      def _count_op_with_name_and_attribute(
          self,
          nodes: Iterable[node_def_pb2.NodeDef],
          op_name: str,
          attr_name: str,
          attr_val: _AttrValType,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.py

            node.op.startswith('FakeQuant') for node in meta_graph.graph_def.node
        ):
          return True
        for function in meta_graph.graph_def.library.function:
          if any(node.op.startswith('FakeQuant') for node in function.node_def):
            return True
      return False
    
    
    def _serialize_signature_def_map(
        signature_def_map: _SignatureDefMap,
    ) -> dict[str, bytes]:
      """Serializes SignatureDef values in `signature_def_map`.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.cc

          for (auto id = session->last_num_graph_nodes; id < num_nodes; ++id) {
            Node* const node = graph.FindNodeId(id);
            if (node != nullptr && node->IsOp()) {
              NodeDef* const node_def = graph_def.add_node();
              *node_def = node->def();
            }
          }
          *graph_def.mutable_library() = graph.flib_def().ToProto();
          if (flags::Global().more_stack_traces.value()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

      FunctionDefLibrary flib_def;
      FunctionDef func = FunctionDefHelper::Create(
          /*function_name=*/"Stateful_func", /*in_def=*/{},
          /*out_def=*/{"out: int32"},
          /*attr_def*/
          {}, /*node_def=*/
          {FunctionDefHelper::Const("shape_shape", 2),
           FunctionDefHelper::Const("minval", 1),
           FunctionDefHelper::Const("maxval", 20),
           {{"shape"},
            "RandomUniformInt",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
Back to top