Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for BlockArgument (0.21 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

                          dst_index);
        }
        return absl::OkStatus();
      }
    
      auto input_arg = mlir::cast<BlockArgument>(src);
      auto input_node_it = args_.find(input_arg);
      TF_RET_CHECK(input_node_it != args_.end())
          << "Use of BlockArgument encounted before def!";
      // For argument, there is only one result output, so the index is always 0.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

    namespace tensorflow {
    namespace tf2xla {
    namespace internal {
    
    namespace {
    
    using llvm::dyn_cast;
    using mlir::Attribute;
    using mlir::Block;
    using mlir::BlockArgument;
    using mlir::DenseIntElementsAttr;
    using mlir::failure;
    using mlir::Location;
    using mlir::LogicalResult;
    using mlir::OpBuilder;
    using mlir::Operation;
    using mlir::OperationPass;
    using mlir::OpOperand;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        func::FuncOp func, const llvm::SmallSet<int, 4> &tensor_list_args) {
      // `indexes` stores the argument index of tensorlists which size may get
      // updated in the function.
      llvm::SmallSet<int, 4> indexes;
      for (BlockArgument &arg : func.getArguments()) {
        if (tensor_list_args.contains(arg.getArgNumber())) {
          for (const mlir::OpOperand &use : arg.getUses()) {
            mlir::Operation *op = use.getOwner();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

        if (opr) {
          producer = opr.getOwner();
          port = {opr.getResultNumber()};
        } else {
          producer = mlir::cast<BlockArgument>(v);
          port = {0};
        }
      }
      ValuePort(PointerUnion<Operation*, BlockArgument> producer,
                SmallVector<unsigned int, 2> port)
          : producer(producer), port(port) {}
    
      raw_ostream& print(raw_ostream& os) const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      // have associated tensor and buffer. Build FlatBuffer tensor and buffer for
      // other functions.
      for (unsigned i = 0, e = bb.getNumArguments(); i < e; ++i) {
        mlir::BlockArgument arg = bb.getArgument(i);
        std::string tensor_name;
        if (has_input_attr)
          tensor_name = std::string(name_mapper_.GetUniqueName(arg));
        if (tensor_name.empty()) tensor_name = absl::StrCat("arg", i);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
Back to top