- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 345 for setLoc (0.14 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc
Block& entry = entry_func_op->getRegion(0).front(); for (auto [arg, arg_type, arg_loc] : llvm::zip_equal(entry.getArguments(), arg_types, arg_locs)) { arg.setType(arg_type); arg.setLoc(arg_loc); } } // Creates a UniformQuantize op and sets it as return op. // The requantize scale and zero point should be determined from the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 06:04:36 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc
return failure(); } for (Operation& inner_op : quantized_func.getBody().front().getOperations()) { if (!inner_op.hasAttr(kAttrMapAttribute)) continue; inner_op.setLoc(main_op->getLoc()); } return success(); } // Get the corresponding quantized function name from the given function name. std::string GetQuantizedFunctionName(StringRef func_name,
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/lite/transforms/lower_static_tensor_list.cc
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/lite/stablehlo/transforms/unfuse_batch_norm_pass.cc
bn_op.getLoc(), bn_op.getVariance(), epsilon); multiplier = rewriter.create<mhlo::RsqrtOp>(bn_op.getLoc(), multiplier); multiplier = rewriter.create<mhlo::MulOp>(bn_op.getLoc(), multiplier, bn_op.getScale()); // Compute rhs = offset - mean * multiplier Value rhs = rewriter.create<mhlo::MulOp>(bn_op.getLoc(), multiplier,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java
assertEquals("http://www.example.com/", sitemaps[0].getLoc()); assertEquals("monthly", ((SitemapUrl) sitemaps[0]).getChangefreq()); assertEquals("0.8", ((SitemapUrl) sitemaps[0]).getPriority()); assertNull(sitemaps[1].getLastmod()); assertEquals("http://www.example.com/catalog?item=12&desc=vacation_hawaii", sitemaps[1].getLoc()); assertEquals("weekly", ((SitemapUrl) sitemaps[1]).getChangefreq());
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 9.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/lstm_utils.cc
weight_transposed_ = Transpose2D(&builder_, weight_, weight_type_, fused_func_op_.getLoc()); projection_transposed_ = Transpose2D(&builder_, projection_, projection_type_, fused_func_op_.getLoc()); none_ = CreateNoneValue(&builder_, fused_func_op_.getLoc()); // Extract input to cifg gates via slicing the weight tensor SetWeightForInputToCellGate();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 36.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h
Type cast_type = quant_type.castFromExpressedType(expressed_type); rewriter.setInsertionPointAfter(const_op); auto q = rewriter.create<Q>(const_op->getLoc(), cast_type, const_op->getResult(0)); auto dq = rewriter.create<DQ>(const_op->getLoc(), expressed_type, q); op.setOperand(input_index, dq.getResult()); return success(); } LogicalResult replaceStatsOp(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 28K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc
auto new_buffer = builder.create<TF::IdentityOp>( pop.getLoc(), ArrayRef<Type>{buffer.getType()}, ArrayRef<Value>{buffer}); auto new_size = builder.create<TF::SubOp>( pop.getLoc(), ArrayRef<Type>{size.getType()}, ArrayRef<Value>{size, cutil::GetR1Const({1LL}, builder, pop.getLoc())}); auto element = cutil::GetElement(new_size, new_buffer, builder, pop.getLoc()); pop.getOutputHandle().replaceAllUsesWith(new_buffer);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 39.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/tfl_to_std.cc
auto dcast = b.create<quantfork::DequantizeCastOp>( dq.getLoc(), dq.getOutput().getType(), dq.getInput()); dq.getOutput().replaceAllUsesWith(dcast); dq.erase(); } else if (auto q = llvm::dyn_cast<QuantizeOp>(op)) { auto qcast = b.create<quantfork::QuantizeCastOp>( q.getLoc(), q.getOutput().getType(), q.getInput()); q.getOutput().replaceAllUsesWith(qcast);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 02:50:01 UTC 2024 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc
// Calculates the broadcast shape using BroadcastArgs op. Value cond_shape = GetShape(cond, op->getLoc(), rewriter); Value lhs_shape = GetShape(lhs, op->getLoc(), rewriter); Value rhs_shape = GetShape(rhs, op->getLoc(), rewriter); auto broadcast_shape_value = rewriter .create<TF::BroadcastArgsOp>(op->getLoc(), lhs_shape.getType(), lhs_shape, rhs_shape)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 20:06:54 UTC 2024 - 45.2K bytes - Viewed (0)