Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 57 for node_def (0.17 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util_test.cc

    FunctionDef PassThroughResource() {
      return FunctionDefHelper::Define(
          /*function_name=*/"PassThroughResource",
          /*arg_def=*/{"in: resource"},
          /*ret_def=*/{"out: resource"},
          /*attr_def=*/{},
          /*node_def=*/
          {{{"out"}, "Identity", {"in"}, {{"T", DataType::DT_RESOURCE}}}});
    }
    
    TEST(IsSupportedByNonReplicatedBridge, NonReplicatedGraph) {
      const FunctionDef& fd = PassThroughResource();
      FunctionDefLibrary flib;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 19:51:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/encapsulate_xla_computations_pass.cc

    #include "tensorflow/compiler/jit/defs.h"
    #include "tensorflow/compiler/jit/encapsulate_subgraphs_pass.h"
    #include "tensorflow/compiler/jit/xla_cluster_util.h"
    #include "xla/status_macros.h"
    #include "tensorflow/core/framework/node_def.pb.h"
    #include "tensorflow/core/framework/types.h"
    #include "tensorflow/core/graph/graph_node_util.h"
    #include "tensorflow/core/lib/core/stringpiece.h"
    #include "tensorflow/core/lib/hash/hash.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export_test.cc

    #include "mlir/IR/OwningOpRef.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/quantization/common/test_base.h"
    #include "tensorflow/core/framework/graph.pb.h"
    #include "tensorflow/core/framework/node_def.pb.h"
    #include "tensorflow/core/graph/graph.h"
    #include "tensorflow/core/protobuf/saver.pb.h"
    #include "tsl/platform/protobuf.h"  // IWYU pragma: keep
    #include "tsl/platform/status_matchers.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top