- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 222 for SmallVector (0.19 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
} std::optional<RankedTensorType> InferXlaConvOutputShape( llvm::SmallVector<int64_t> input_tensor_dims, llvm::SmallVector<int64_t> kernel_tensor_dims, llvm::SmallVector<int64_t> window_strides, llvm::SmallVector<std::pair<int64_t, int64_t>> paddings, llvm::SmallVector<int64_t> lhs_dilations, llvm::SmallVector<int64_t> rhs_dilations, int64_t batch_group_count,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/device_util.cc
#include "tensorflow/compiler/mlir/tensorflow/utils/device_util.h" #include <string> #include "absl/strings/string_view.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/Error.h" #include "llvm/Support/FormatVariadic.h" #include "llvm/Support/Regex.h" #include "mlir/IR/Attributes.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc
// members. ValuesConstraintSet constraints; }; using Members = llvm::SmallVector<Member>; struct ClusteringState { // Storage backing an array based union-find algorithm for clustering. Index // in this vector is the member id. llvm::SmallVector<Member> members; // Mapping from the member operation (block argument) to the member id.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 27.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/lift_as_function_call_test.cc
const SmallVector<NamedAttribute>& attributes = { builder_.getNamedAttr( "precision_config", builder_.getArrayAttr(SmallVector<Attribute>( 1, mlir::stablehlo::PrecisionAttr::get( ctx_.get(), mlir::stablehlo::Precision::DEFAULT)))), }; const SmallVector<Value> operands(dot_general_op->getOperands());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 26.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc
} // Multiplies two 1D arrays with broadcasting support. template <typename T> SmallVector<T> MultiplyTwoArrays(ArrayRef<T> a, ArrayRef<T> b) { auto get_value_at = [](ArrayRef<T> v, size_t i) -> T { if (v.size() == 1) return v.front(); return v[i]; }; size_t max_size = std::max(a.size(), b.size()); SmallVector<T> result(max_size); for (size_t i : llvm::seq<size_t>(0, max_size)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 13.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.h
#define TENSORFLOW_COMPILER_MLIR_LITE_STABLEHLO_TRANSFORMS_LEGALIZE_HLO_CONVERSIONS_SCATTER_H_ #include <cstdint> #include <type_traits> #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SmallVector.h" #include "mlir/IR/BuiltinAttributes.h" // from @llvm-project #include "mlir/IR/BuiltinTypeInterfaces.h" // from @llvm-project #include "mlir/IR/ImplicitLocOpBuilder.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h
(std::is_integral_v<T> || std::is_same_v<T, float>), void>> Value CreateConstValue(OpBuilder& builder, const Location loc, const SmallVector<int64_t>& shape, const SmallVector<T>& values) { if constexpr (std::is_integral_v<T>) { auto shape_type = RankedTensorType::get(shape, builder.getIntegerType(sizeof(T) * 8));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_device_propagation.cc
// We apply all result attributes at once to avoid excessive allocations when // we have many result values. llvm::SmallVector<std::vector<NamedAttribute>, 8> result_attrs; { llvm::SmallVector<DictionaryAttr, 8> tmp; func.getAllResultAttrs(tmp); for (const auto& res : tmp) { result_attrs.push_back(res.getValue().vec()); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
llvm::SmallSet<int, 4> resized_tensor_lists = GetResizedTensorListIndexes(op.else_function(), tensor_list_args); llvm::SmallVector<Type, 8> result_types; result_types.reserve(op.getNumResults()); llvm::SmallVector<Type, 4> op_result_types; for (Type ty : op.getResultTypes()) { op_result_types.push_back(ty); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_read_for_write.cc
limitations under the License. ==============================================================================*/ #include <memory> #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SmallVector.h" #include "mlir/Dialect/Func/IR/FuncOps.h" // from @llvm-project #include "mlir/IR/Builders.h" // from @llvm-project #include "mlir/IR/BuiltinOps.h" // from @llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 16:54:40 UTC 2024 - 5.4K bytes - Viewed (0)