Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getNumArguments (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

    }
    
    bool ShapeInference::InferShapeForDatasetOpCommon(Operation* op, FuncOp f,
                                                      int64_t max_iterations) {
      int N = op->getNumOperands() - 1;
      int M = f.getNumArguments() - N;
      DCOMMENT_OP(op, "Inferring shape for with N = " << N << " and M = " << M);
    
      // Initialize with function input types.
      auto input_types = llvm::to_vector<1>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

              mlir::dyn_cast_or_null<mlir::StringAttr>(dict_attr.get("inputs"))) {
        str.getValue().split(input_names, ',', /*MaxSplit=*/-1,
                             /*KeepEmpty=*/false);
        if (input_names.size() != fn.getNumArguments()) {
          fn.emitWarning() << "invalid entry function specification";
          return;
        }
        for (const auto& it : llvm::enumerate(fn.getArguments())) {
    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