Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ReplaceOpWithNewOp (0.29 sec)

  1. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

                                    tensorflow::TensorShape(result_shape));
          auto attr_or = tensorflow::ConvertTensor(tensor, &rewriter);
          if (!attr_or.ok()) return failure();
          rewriter.replaceOpWithNewOp<TF::ConstOp>(op, attr_or.value());
          return success();
        }
    
        // Extract individual tensor list element and combine them using the tf.Pack
        // op.
        Location loc = op.getLoc();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
Back to top