- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 345 for setLoc (0.14 sec)
-
tensorflow/compiler/mlir/lite/transforms/quantize_variables.cc
auto new_read_variable_op = builder.create<ReadVariableOp>(read_variable_op.getLoc(), ref_qtype, read_variable_op.getResourceId()); auto new_dq_op = builder.create<DequantizeOp>( read_variable_op.getLoc(), read_variable_op.getResult().getType(), new_read_variable_op.getResult());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tensor_array_ops_decomposition.cc
write.getLoc())}); elem = cutil::AccumulateBuffers(elem, original_elem, builder, write.getLoc()); } buffer = cutil::SetElement(index_reshape, buffer, elem, builder, write.getLoc()); cutil::WriteLocalVariable(local_var, buffer, builder, write.getLoc()); write.getFlowOut().replaceAllUsesWith(write.getFlowIn()); write.erase(); return success(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 02 20:41:19 UTC 2023 - 40.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc
cutil::ReadLocalVariable(pop.getHandle(), builder, pop.getLoc()); auto size = cutil::ReadLocalVariable(it->getSecond(), builder, pop.getLoc()); auto new_size = builder.create<TF::SubOp>( pop.getLoc(), ArrayRef<Type>{size.getType()}, ArrayRef<Value>{size, cutil::GetR1Const({1}, builder, pop.getLoc())}); auto pop_val = cutil::GetElement(new_size, stack_val, builder, pop.getLoc()); pop.replaceAllUsesWith(pop_val);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 23.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/merge_fusion_with_dequantize.cc
req_op.getLoc(), func_op.getResultTypes()[0], req_op.getOperand()); if (func_name.contains("_relu6_")) { auto min = rewriter.create<mlir::stablehlo::ConstantOp>( req_op.getLoc(), rewriter.getF32FloatAttr(0)); auto max = rewriter.create<mlir::stablehlo::ConstantOp>( req_op.getLoc(), rewriter.getF32FloatAttr(6));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc
auto slice_begin_const = rewriter->create<TFL::ConstOp>(split_op->getLoc(), slice_begin_attr); auto slice_size_const = rewriter->create<TFL::ConstOp>(split_op->getLoc(), slice_size_attr); auto slice_op = rewriter->create<TFL::SliceOp>( split_op->getLoc(), current_output_type, input, slice_begin_const, slice_size_const); // Rewire output.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 25.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/odml_converter/transforms/outline_composites.cc
auto erf_op = rewriter.create<chlo::ErfOp>(mul_op.getLoc(), mul_op); auto add_op = rewriter.create<stablehlo::AddOp>(erf_op.getLoc(), erf_op, one_cst); auto lhs_mul_op = rewriter.create<stablehlo::MulOp>( half_cst.getLoc(), new_func.getArguments()[0], half_cst); auto output_mul_op = rewriter.create<stablehlo::MulOp>(lhs_mul_op.getLoc(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 9.6K bytes - Viewed (0) -
src/runtime/export_debug_arm64_test.go
olr := *(*uint64)(unsafe.Pointer(uintptr(sp))) ctxt.set_lr(olr) pc := ctxt.pc() ctxt.set_pc(pc + 4) // step to next instruction } // case 2 func (h *debugCallHandler) debugCallPanicOut(ctxt *sigctxt) { sp := ctxt.sp() memmove(unsafe.Pointer(&h.panic), unsafe.Pointer(uintptr(sp)+8), 2*goarch.PtrSize) ctxt.set_pc(ctxt.pc() + 4) } // case 8 func (h *debugCallHandler) debugCallUnsafe(ctxt *sigctxt) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Apr 23 05:38:56 UTC 2022 - 3.5K bytes - Viewed (0) -
src/runtime/export_debug_ppc64le_test.go
olr := *(*uint64)(unsafe.Pointer(uintptr(sp))) ctxt.set_link(olr) pc := ctxt.pc() ctxt.set_pc(pc + 4) // step to next instruction } // case 2 func (h *debugCallHandler) debugCallPanicOut(ctxt *sigctxt) { sp := ctxt.sp() memmove(unsafe.Pointer(&h.panic), unsafe.Pointer(uintptr(sp)+32), 2*goarch.PtrSize) ctxt.set_pc(ctxt.pc() + 4) } // case 8 func (h *debugCallHandler) debugCallUnsafe(ctxt *sigctxt) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 15:33:38 UTC 2023 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
Value start_op = rewriter.create<TF::ConstOp>(iota_op.getLoc(), start); Value limit_op = rewriter.create<TF::ConstOp>(iota_op.getLoc(), limit); Value delta_op = rewriter.create<TF::ConstOp>(iota_op.getLoc(), delta); Value result = rewriter.create<TF::RangeOp>(iota_op.getLoc(), range_type, start_op, limit_op, delta_op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_quantize_op.cc
rewriter.create<func::FuncOp>(input_op->getLoc(), func_name, func_type); OpBuilder::InsertionGuard guard = OpBuilder::InsertionGuard(rewriter); ArrayRef<Type> inputs = quantization_func.getFunctionType().getInputs(); Block* block = rewriter.createBlock( &quantization_func.getBody(), quantization_func.begin(), inputs, SmallVector<Location>(inputs.size(), quantization_func.getLoc())); func_input_arg = block->getArgument(0);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0)