Abstract:
A method and an apparatus for adjusting an input/output (I/O) channel on a virtual platform, and the method for adjusting an I/O channel includes: counting, by a host, current average I/O throughput of multiple virtual machines (VMs) operating on the host; increasing or decreasing, by the host, working threads for processing the VMs between front devices and back devices of the multiple VMs according to the current average I/O throughput; and adjusting, by the host, a mapping relationship between queues in the front device, queues in the back devices of the multiple VMs, and working threads for processing the VMs. According to the present invention, when the I/O throughput decreases, idle I/O channel resources are released, thereby avoiding a waste of the I/O channel resources; when the I/O throughput increases, the I/O channel resources are increased, resulting in an improved data transmission capability of the I/O channels.
Abstract:
An electronic device configured to detect an operation to switch from a parent page to a child page, switch, in response to the operation, the parent page in full screen to superimpose and display a middle part of the child page on a first side of a display, and control the child page to gradually move toward a second side of the display and expand a displayed part of the child page on the display until the child page is displayed on the display in full screen.
Abstract:
An image processing method and device are disclosed. The method is applicable to an image processing device having an operating system, and the method includes: receiving, by an image processing module of the operating system, an instruction of a first application program to call the image processing module of the operating system, where the instruction carries a to-be-displayed image and a resolution of the to-be-displayed image; and when the resolution of the to-be-displayed image is less than a first threshold, performing, by the image processing module, super-resolution processing on the to-be-displayed image, and displaying an image obtained after the super-resolution processing, to resolve a problem of a low image definition in a conventional display method.
Abstract:
In an object detection model training method, a classifier that has been trained in a first phase is duplicated to at least two copies, and in a training in a second phase, each classifier obtained through duplication is configured to detect to-be-detected objects with different sizes, and train an object detection model based on a detection result.
Abstract:
An object detection model training method performed by a computing device, includes obtaining a system parameter including at least one of a receptive field of a backbone network, a size of a training image, a size of a to-be-detected object in the training image, a training computing capability, or a complexity of the to-be-detected object, determining a configuration parameter based on the system parameter, establishing a variable convolution network based on the configuration parameter and a feature map of the backbone network, recognizing the to-be-detected object based on a feature of the variable convolution network, and training the backbone network and the variable convolution network, where a convolution core used by any variable convolution layer may be offset in any direction in a process of performing convolution.
Abstract:
A voltage regulation method, a controller, and a chip are provided. In the method, a controller receives a digital first status representation value sent by a sensor; the controller determines, according to the first status representation value and at least one of a second status representation value or a first expected value, whether to regulate the supply voltage of the load, where the second status representation value represents a node voltage that is at a previous moment and that is of the detection point of the load, and the first expected value represents an expected value of a node voltage of the detection point; and when determining to regulate the supply voltage of the load, the controller sends a digital control signal to a power gating array, to control the power gating array to regulate the supply voltage.
Abstract:
A method and an apparatus for adjusting an input/output (I/O) channel on a virtual platform, and the method for adjusting an I/O channel includes: counting, by a host, current average I/O throughput of multiple virtual machines (VMs) operating on the host; increasing or decreasing, by the host, working threads for processing the VMs between front devices and back devices of the multiple VMs according to the current average I/O throughput; and adjusting, by the host, a mapping relationship between queues in the front device, queues in the back devices of the multiple VMs, and working threads for processing the VMs. According to the present invention, when the I/O throughput decreases, idle I/O channel resources are released, thereby avoiding a waste of the I/O channel resources; when the I/O throughput increases, the I/O channel resources are increased, resulting in an improved data transmission capability of the I/O channels.
Abstract:
An image processing method performed by image processing device having an operating system includes receiving, by an image processing module of the operating system, an instruction of a first application program to call the image processing module of the operating system, where the instruction carries a to-be-displayed image and a resolution of the to-be-displayed image. The image processing method further includes when the resolution of the to-be-displayed image is less than a first threshold, performing, by the image processing module, super-resolution processing on the to-be-displayed image, and displaying an image obtained after the super-resolution processing.
Abstract:
An image processing method and device are disclosed. The method is applicable to an image processing device having an operating system, and the method includes: receiving, by an image processing module of the operating system, an instruction of a first application program to call the image processing module of the operating system, where the instruction carries a to-be-displayed image and a resolution of the to-be-displayed image; and when the resolution of the to-be-displayed image is less than a first threshold, performing, by the image processing module, super-resolution processing on the to-be-displayed image, and displaying an image obtained after the super-resolution processing, to resolve a problem of a low image definition in a conventional display method.
Abstract:
The present invention discloses an adaptive voltage scaling circuit and a chip. The adaptive voltage scaling circuit includes a performance classification monitor and an adaptive controller, where the performance classification monitor is disposed inside the chip, and is configured to detect working performance of the chip at a current working voltage, and output a detection result signal to the adaptive controller; and the adaptive controller is connected to the performance classification monitor, and is configured to output a control signal to a power management module of the chip according to the detection result signal output by the performance classification monitor, where the control signal is used to control the power management module to adjust a working voltage of the chip. In embodiments of the present invention, test workload can be reduced.