Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for HasVariantInputOrOutput (0.22 sec)

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

        tflite::TensorType tflite_type =
            tflite::ConvertTypeToTensorType(empty.getElementDtype());
    
        return CreateListReserveOptions(context, tflite_type);
      }
      return {};
    }
    
    bool HasVariantInputOrOutput(Operation* op) {
      const bool has_variant_input = llvm::any_of(op->getOperands(), [](Value val) {
        return val.getType().cast<TensorType>().getElementType().isa<VariantType>();
      });
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top