- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 270 for getFlow (0.15 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc
return failure(); } scast_op = rewriter.create<quantfork::StorageCastOp>( arg.getLoc(), mlir::cast<TensorType>(new_arg_type), arg); } else { scast_op = rewriter.create<quantfork::StorageCastOp>( arg.getLoc(), arg_type.clone(qtype.getStorageType()), arg); } args.push_back(scast_op.getResult()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 54.5K bytes - Viewed (0) -
tools/bug-report/pkg/bugreport/bugreport.go
}() clog, _, _, err := getLog(runner, resources, config, namespace, pod, "") appendGlobalErr(err) writeFile(filepath.Join(archive.CniPath(tempDir, pod), "cni.log"), clog, config.DryRun) log.Infof("Done with CNI logs %v", pod) }() } // getLog fetches the logs for the given namespace/pod/container and returns the log text and stats for it.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 05 20:57:29 UTC 2024 - 20.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_quantize_dynamic_range.cc
quantize_op->setOperand(quantize_operand_num, dq_op); return false; } } rewriter.setInsertionPointAfter(op); auto q = rewriter.create<Q>(op->getLoc(), cast_type, op.getResult()); auto dq = rewriter.create<DQ>(op->getLoc(), expressed_type, q); quantize_op->setOperand(quantize_operand_num, dq.getResult()); return true; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 20.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/add_functions_for_exported_names.cc
other.addEntryBlock(); OpBuilder builder(other.getRegion()); auto call_op = builder.create<mlir::func::CallOp>( f.getLoc(), f.getFunctionType().getResults(), f.getSymName(), other.getRegion().getArguments()); builder.create<mlir::func::ReturnOp>(f.getLoc(), call_op.getResults()); } Unexport(f); } } } // namespace std::unique_ptr<OperationPass<ModuleOp>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 08:06:04 UTC 2023 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_func_to_bfloat16.cc
// be created and updated, rather than updating the old op. Thus we use an // OperationState so we can add regions to the new op. OperationState state(op->getLoc(), op->getName().getStringRef(), operands, new_results, op->getAttrs(), op->getSuccessors()); for (Region& region : op->getRegions()) { Region& new_region = *state.addRegion();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/modify_io_nodes.cc
returned_type = quant::ConvertSignedQuantizedToUnsigned( dequantize_input.getType(), dequantize_op.getLoc()); // replace the dequantize op by a quantize op TypeAttr type_attr = TypeAttr::get(returned_type); auto quantize_op = builder.create<QuantizeOp>( dequantize_op.getLoc(), returned_type, dequantize_input, type_attr); returned_value = quantize_op.getOutput(); } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_asset_sinking_pass.cc
builder.create<tf_saved_model::SessionInitializerOp>( module->getLoc(), builder.getArrayAttr(func_names)); // Create AssetOp; this holds the checkpoint_path. // TODO(b/318761632): Cleanup usage of string literals, instead use constants. auto asset_op = builder.create<tf_saved_model::AssetOp>( module->getLoc(), /*sym_name=*/
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/localize_var_handles.cc
// See core/kernels/data/iterator_ops.cc.) resource_op = builder.create<TF::IteratorOp>( op->getLoc(), resource.getType(), shared_name, container, it.getOutputTypes(), it.getOutputShapes()); } else { resource_op = builder.create<TF::VarHandleOp>( op->getLoc(), resource.getType(), container, shared_name); } op->setOperand(0, resource_op->getResult(0)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 06 23:53:00 UTC 2024 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_xla_call_module_op_to_bfloat16.cc
builder.setInsertionPoint(op); for (auto& op_operand : op->getOpOperands()) { if (IsLargeFloatType(op_operand.get().getType())) { op_operand.set(builder.create<TF::CastOp>( op->getLoc(), ToBfloat16Type(op_operand.get().getType()), op_operand.get())); } } builder.setInsertionPointAfter(op); for (auto op_result : op->getOpResults()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 08:32:43 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/defer_activation_transpose.cc
// The Location is set as `input`'s loc. TransposeOp CreateTransposeOp(Value input, const ArrayRef<int64_t> permutation, PatternRewriter& rewriter) { return rewriter.create<TransposeOp>( input.getLoc(), input, rewriter.getDenseI64ArrayAttr(permutation)); } // Defers the transpose of the left-hand side (LHS) to the right-hand side and // the result of a binary operation. In detail, this rewrites the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.5K bytes - Viewed (0)