- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 300 for pushBack (0.21 sec)
-
tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc
*b_map = {}; *b_size = {}; int block_rank = 0; for (int i = 0; i < dims_count; i++) { if (block_size[i] != 1) { traversal_order->push_back(block_rank + dims_count); format->push_back(kTfLiteDimDense); block_rank++; b_map->push_back(i); b_size->push_back(block_size[i]); } } } inline float GetSparsity(const int num_zeros, const int num_elements) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/decompose_hybrid_quantization.cc
auto newTy = QuantizedType::castToExpressedType(operand.getType()); newOperands.push_back( rewriter.create<TFL::DequantizeOp>(loc, newTy, operand)); continue; } newOperands.push_back(operand); } SmallVector<Type> newResultTys; for (auto result : op->getResults()) { Type resultTy = result.getType();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc
padded_begin.push_back(0); padded_end.push_back(0); padded_stride.push_back(1); } // Account for ellipsis mask. ++index; // After the ellipsis. for (; index < begin_shape[0];) { padded_begin.push_back(begin_dense_elem_attr.getValues<int32_t>()[index]); padded_end.push_back(end_dense_elem_attr.getValues<int32_t>()[index]);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 64.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.cc
for (const int64_t dim : batch_dimensions) { batch_dimensions_.axes.push_back(dim); batch_dimensions_.sizes.push_back(type.getDimSize(dim)); } for (const int64_t dim : contracting_dimensions) { contracting_dimensions_.axes.push_back(dim); contracting_dimensions_.sizes.push_back(type.getDimSize(dim)); } for (int64_t dim = 0; dim < rank; ++dim) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.h
if (mlir::isa<NoneType>(operand_type)) { inputs.push_back(operand); continue; } auto ele_type = mlir::cast<TensorType>(operand.getType()).getElementType(); if (auto dq_op = dyn_cast_or_null<DequantizeOpT>(operand.getDefiningOp())) { inputs.push_back(dq_op.getOperand()); } else if (!ele_type.isF32()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc
}); std::vector<std::string> lines; lines.push_back("-------- Quantization Summary --------"); lines.push_back("Number of quantized layers in the model"); lines.push_back("--------------------------------"); lines.push_back( absl::StrFormat("%s Count/Total", pad_string("Name", name_col_width))); lines.push_back("================================");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 54.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_calibration_statistics_saver.cc
if (aggregator_ops_to_ignore.count(op.getId().str())) continue; ids.push_back(op.getId()); calibration_methods.push_back(op.getCalibrationMethod()); statistics_outputs.push_back(op.getMin()); statistics_outputs.push_back(op.getMax()); statistics_outputs.push_back(op.getHistogram()); } } // Inserts a `CalibrationStatisticsSaverOp` to the end of the region.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 7.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_operator.cc
if (value.IsBool()) { mlir_vector.push_back(BuildVhloBooleanV1Attr(value.AsBool(), builder)); } else if (value.IsString()) { mlir_vector.push_back( BuildVhloStringV1Attr(value.AsString().str(), builder)); } else if (value.IsInt()) { mlir_vector.push_back(BuildVhloIntV1Attr(value.AsInt64(), builder)); } else if (value.IsFloat()) { mlir_vector.push_back(BuildVhloFloatV1Attr(value.AsFloat(), builder));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 38K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc
input_arguments.push_back(tensor_i32); input_arguments.push_back(one_matrix->getResult(0)); lhs_rank = tensor_shape.size(); rhs_rank = opponent_shape.size(); } else { output_shape = CreateOutputShape(reduce_dnums, opponent_shape, tensor_shape); input_arguments.push_back(one_matrix->getResult(0)); input_arguments.push_back(tensor_i32); lhs_rank = opponent_shape.size();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 47.1K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/common/case_format.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 09:51:28 UTC 2024 - 3K bytes - Viewed (0)