- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 66 for deim (0.11 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/optimize.cc
// Collect non-unit dims and corresponding dim in the input shape. SmallVector<int64_t, 4> input_carryover_dims; SmallVector<int64_t, 4> non_unit_dims; for (int i = 0; i < input_shape_extended.size(); i++) { int64_t dim = broadcast_shape[i]; if (dim != 1) { non_unit_dims.push_back(dim); input_carryover_dims.push_back(input_shape_extended[i]); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel_4bit.pbtxt
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 18.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py
merge_fusion_with_dequantize: bool, ): lhs_dim_size, rhs_dim_size = dim_sizes input_shape = (*lhs_dim_size,) filter_shape = (*rhs_dim_size,) static_input_shape = [dim if dim is not None else 2 for dim in input_shape] model = self._create_matmul_model( input_shape, filter_shape, self._input_saved_model_path, bias_fn, activation_fn, )
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 51.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/device_conversion.mlir
-> (tensor<3x3xf32> {tf_saved_model.index_path = []}) { // CHECK: {{%.*}} = corert.get_op_handler %arg0 "/device:GPU:0" %2 = "tf.MatMul"(%arg0, %arg1) {T = f32, _output_shapes = ["tfshape$dim { size: 3 } dim { size: 3 }"], device = "/device:GPU:0", transpose_a = false, transpose_b = false} : (tensor<3x1xf32>, tensor<1x3xf32>) -> tensor<3x3xf32> func.return %2 : tensor<3x3xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 00:18:59 UTC 2024 - 645 bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/utils.h
int64_t dim = output_shape[dim_idx]; if (truncate && needs_truncation && dim == 1) { continue; } else if (needs_truncation && dim != 1) { needs_truncation = false; } shape.push_back(ShapedType::isDynamic(dim) ? -1 : static_cast<int32_t>(dim)); } return mlir::DenseElementsAttr::get(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 11.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/op_stat_pass.cc
} auto op_count_map = op_dtype_count_[op_with_dialect_name]; if (!op_count_map.empty()) { std::string delim; *os_ << " ("; for (const auto &[dtype, cnt] : op_count_map) { *os_ << delim << absl::StrFormat("%s: %d", dtype, cnt); delim = ", "; } *os_ << ")"; } *os_ << "\n"; } } } // namespace odml } // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.7K bytes - Viewed (0) -
docs/vi/docs/python-types.md
**FastAPI** hoàn toàn được dựa trên những gợi ý kiểu dữ liệu, chúng mang đến nhiều ưu điểm và lợi ích. Nhưng thậm chí nếu bạn không bao giờ sử dụng **FastAPI**, bạn sẽ được lợi từ việc học một ít về chúng. !!! note
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 21.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/export_utils.h
template <typename ShapeContainerT> void SetTensorShapeProto(ShapeContainerT shape, TensorShapeProto* proto) { if (shape.hasRank()) { for (int64_t dim : shape.getShape()) { proto->add_dim()->set_size(mlir::ShapedType::isDynamic(dim) ? -1 : dim); } } else { proto->set_unknown_rank(true); } } // Sets shape attribute with the given name. If the attribute already exists
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_xla_attribute_utils.cc
int32_t dim) { Type attribute_type = builder.getI64Type(); return builder.create<TF::StridedSliceOp>( loc, RankedTensorType::get( {}, mlir::cast<ShapedType>(shape_value.getType()).getElementType()), /*input=*/shape_value, /*begin=*/Create1DConstValue<int32_t>(builder, loc, {dim}), /*end=*/Create1DConstValue<int32_t>(builder, loc, {dim + 1}),
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/optimize.cc
auto dim_nums = first_dot.getDotDimensionNumbers(); return llvm::is_contained(dim_nums.getLhsBatchingDimensions(), dim) || llvm::is_contained(dim_nums.getLhsContractingDimensions(), dim); }; // dot_general outputs are always in the // [batch dims, LHS other dims, RHS other dims] // layout, so the new concat dim is where the n-th (base-0 counting) LHS other
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 26.9K bytes - Viewed (0)