Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for _Arg (0.07 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export.cc

    // tensor is found (when there are no variables to restore, it is expected that
    // the file prefix tensor does not exist). The file prefix tensor is found among
    // the "_Arg" nodes, as it is translated from the MLIR @main function's
    // argument. It also must have the attribute `tf_saved_model.index_path =
    // ["__tf_file_prefix"]`.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

    static const char kImportModelDefaultGraphFuncName[] = "main";
    
    // Please refer to the TFG dialect description for the list of used attributes.
    // Belows are the attributes in TFE.
    // TFE Arguments and Results (Got from "_Arg",
    // "_Retval", .etc)
    //  NodeDef.device <-> "tf.device"
    //  NodeDef.attr <-> "tf."
    //
    // TFE general operations
    //  NodeDef.device <-> "device"
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

              return errors::InvalidArgument(
                  "Invalid \"_handle_dtypes\" attribute value for _Arg node: ",
                  shape_attr->DebugString());
            }
            if (shape_attr->list().shape().empty()) {
              return errors::InvalidArgument(
                  "Invalid \"_handle_shapes\" attribute value for _Arg node: ",
                  shape_attr->DebugString());
            }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

      node_builder.Input(inputs);
      return opts.FinalizeBuilder(&node_builder);
    }
    
    Node* ArgOp(int index, DataType type, const GraphDefBuilder::Options& opts) {
      return ops::SourceOp("_Arg",
                           opts.WithAttr("T", type).WithAttr("index", index));
    }
    
    Node* RetOp(int index, ops::NodeOut a, const GraphDefBuilder::Options& opts) {
      if (opts.HaveError()) return nullptr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

          TF_RET_CHECK(tensor_id.index() == 0)
              << "input port designation not supported";
          // Only assign user of argument the input name if the main graph did not
          // have its _Arg nodes lifted into the functions arguments.
          // Ensure name does not get reused.
          (void)exporter.op_to_name_.GetUniqueName(name);
        }
      }
    
      // Adds nodes for basic block (function) arguments.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

          TF_RET_CHECK(tensor_id.index() == 0)
              << "input port designation not supported";
          // Only assign user of argument the input name if the main graph did not
          // have its _Arg nodes lifted into the functions arguments.
          // Ensure name does not get reused.
          (void)exporter.op_to_name_.GetUniqueName(name);
        }
      }
    
      // Adds nodes for basic block (function) arguments.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/mark_for_compilation_pass.cc

          "XlaSpmdShardToFullShape",
          "XlaSvd",
          "XlaVariadicReduce",
          "XlaVariadicReduceV2",
          "XlaVariadicSort",
          "XlaWhile",
          "Zeta",
          "_Arg",
          "_ArrayToList",
          "_ListToArray",
          "_Retval"};
      return result;
    }
    
    }  // namespace testing
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

    }
    
    TEST(XlaCompilationTest, DontCountIdentityOps) {
      std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global()));
      Scope root = Scope::NewRootScope().ExitOnError();
      {
        auto a = ops::_Arg(root.WithOpName("A"), DT_INT32, 0);
        auto b = ops::Identity(root.WithOpName("B"), a);
        auto c = ops::Identity(root.WithOpName("C"), b);
        auto r = ops::_Retval(root.WithOpName("R"), c, 0);
      }
    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