Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 147 for SmallVector (0.17 sec)

  1. tensorflow/compiler/mlir/lite/converter_gen.cc

    using llvm::DefInit;
    using llvm::dyn_cast;
    using llvm::formatv;
    using llvm::LessRecord;
    using llvm::raw_ostream;
    using llvm::Record;
    using llvm::RecordKeeper;
    using llvm::RecordRecTy;
    using llvm::SmallVector;
    using llvm::StringInit;
    using llvm::StringRef;
    
    enum ActionType {
      OpConv,
      RuntimeVerify,
    };
    
    // NOLINTNEXTLINE
    llvm::cl::opt<ActionType> action(
        llvm::cl::desc("Action to perform:"),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/legalize_tensorlist.cc

    #include <cstdint>
    #include <memory>
    #include <optional>
    #include <string>
    #include <utility>
    #include <vector>
    
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/Support/Casting.h"
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/IR/Builders.h"  // from @llvm-project
    #include "mlir/IR/BuiltinAttributes.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/preprocess_op.cc

        func::FuncOp float_func =
            dyn_cast<func::FuncOp>(symbol_table.lookup(function_name));
        OperandRange func_args = op.getArgs();
        func::FuncOp new_float_func = float_func.clone();
    
        SmallVector<Value> new_float_func_args{func_args.begin(), func_args.end()};
        new_float_func_args[weight_operand_idx] = reshape_op;
        new_float_func.getArgument(weight_operand_idx).setType(new_shape);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_save_function_ops_to_main.cc

      BlockArgument new_file_prefix_arg =
          main_func_op.getBody().front().addArgument(
              file_prefix_arg_type,
              NameLoc::get(builder.getStringAttr(kTfFilePrefix)));
    
      SmallVector<Type> input_types(main_func_op.getArgumentTypes());
      input_types.emplace_back(file_prefix_arg_type);
    
      main_func_op.setType(
          builder.getFunctionType(input_types, main_func_op.getResultTypes()));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc

          return failure();
        }
        return success();
      }
      void rewrite(TF::_XlaHostComputeMlirOp op,
                   PatternRewriter& rewriter) const override {
        llvm::SmallVector<Attribute> shape_attrs;
        shape_attrs.reserve(op.getNumResults());
        for (Type ty : op.getResultTypes()) {
          shape_attrs.push_back(TF::ShapeAttr::get(rewriter.getContext(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/flatbuffer_operator.h

    #include <optional>
    #include <string>
    #include <utility>
    #include <vector>
    
    #include "absl/container/flat_hash_map.h"
    #include "flatbuffers/flatbuffers.h"  // from @flatbuffers
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/Analysis/AssumeBundleQueries.h"
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    #include "mlir/IR/Operation.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 21:00:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/quantization/quantization_context.h

    #ifndef TENSORFLOW_COMPILER_MLIR_LITE_QUANTIZATION_QUANTIZATION_CONTEXT_H_
    #define TENSORFLOW_COMPILER_MLIR_LITE_QUANTIZATION_QUANTIZATION_CONTEXT_H_
    
    #include <vector>
    
    #include "llvm/ADT/DenseMap.h"
    #include "llvm/ADT/SmallVector.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/Dialect/Quant/QuantTypes.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/utils/tftext_utils.cc

    #include <optional>
    #include <string>
    #include <vector>
    
    #include "flatbuffers/flexbuffers.h"  // from @flatbuffers
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/Support/Casting.h"
    #include "llvm/Support/raw_ostream.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc

    #include "absl/strings/str_cat.h"
    #include "llvm/ADT/APFloat.h"
    #include "llvm/ADT/APInt.h"
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/Sequence.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringExtras.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/ADT/StringSwitch.h"
    #include "llvm/ADT/iterator_range.h"
    #include "llvm/Support/Casting.h"
    #include "llvm/Support/FormatVariadic.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td

        bool WrapsSingleOp();
      }];
    
      let builders = [
        OpBuilder<(ins "int":$n,
          "const llvm::SmallDenseMap<StringRef, llvm::SmallVector<StringRef, 4>>&":$devices,
          "llvm::ArrayRef<std::pair<ValueRange, Type>>":$replicated_inputs,
          "ValueRange":$packed_inputs, "TypeRange":$replica_output_types)>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top