登录
首页 » Others » compand.sh

compand.sh

于 2018-06-26 发布 文件大小:1KB
0 255
下载积分: 1 下载次数: 0

代码说明:

  mac平台通过该脚本编译交叉编译openblas库。Openblas是一个高性能矩阵计算库,如果在Android平台部署深度学习模型,很可能需要openblas加速!(The Mac platform compiles cross compilation openblas library through this script. Openblas is a high-performance matrix computing library. If you deploy deep learning models on the Android platform, you will probably need openblas acceleration.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 获取系统图库的图片,调用系统相机,并生成预览,
    ** * 这个是进入相册显示所有图片的界面 *  * @author king * @QQ:595163260 * @version 2014年10月18日  下午11:47:15 */public class AlbumActivity extends Activity {//显示手机里的所有图片的列表控件private GridView gridView;//当手机里没有图片时,提示用户没有图片的控件private TextView tv;//gridView的adapterprivate AlbumGridViewAdapter gridImageAdapter;//完成按钮private Button okButton;// 返回按钮private Button back;// 取消按钮private Button cancel;private Intent intent;// 预览按钮private Button preview;private Context mContext;private ArrayList dataList;private AlbumHelper helper;public static List contentList;public static Bitmap bitmap;protected void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);setContentView(Res.getLayoutID("plugin_camera_album"));PublicWay.activityList.add(this);mContext = this;//注册一个广播,这个广播主要是用于在GalleryActivity进行预览时,防止当所有图片都删除完后,再回到该页面时被取消选中的图片仍处于选中状态IntentFilter filter = new IntentFilter("data.broadcast.action");  registerReceiver(broadcastReceiver, filter);          bitmap = BitmapFactory.decodeResource(getResources(),Res.getDrawableID("plugin_camera_no_pictures"));        init();initListener();//这个函数主要用来控制预览和完成按钮的状态isShowOkBt();}BroadcastReceiver broadcastReceiver = new BroadcastReceiver() {           @Override          public void onReceive(Context context, Intent intent) {          //mContext.unregisterReceiver(this);            // TODO Auto-generated method stub          gridImageAdapter.notifyDataSetChanged();        }      };  // 预览按钮的监听private class PreviewListener implements OnClickListener {public void onClick(View v) {if (Bimp.tempSelectBitmap.size() > 0) {intent.putExtra("position", "1");intent.setClass(AlbumActivity.this, GalleryActivity.class);startActivity(intent);}}}// 完成按钮的监听private class AlbumSendListener implements OnClickListener {public void onClick(View v) {overridePendingTransition(R.anim.activity_translate_in, R.anim.activity_translate_out);intent.setClass(mContext, MainActivity.class);startActivity(intent);finish();}}// 返回按钮监听private class BackListener implements OnClickListener {public void onClick(View v) {intent.setClass(AlbumActivity.this, ImageFile.class);startActivity(intent);}}// 取消按钮的监听private class CancelListener implements OnClickListener {public void onClick(View v) {Bimp.tempSelectBitmap.clear();intent.setClass(mContext, MainActivity.class);startActivity(intent);}}// 初始化,给一些对象赋值private void init() {helper = AlbumHelper.getHelper();helper.init(getApplicationContext());contentList = helper.getImagesBucketList(false);dataList = new ArrayList();for(int i = 0; i= PublicWay.num) {toggleButton.setChecked(false);chooseBt.setVisibility(View.GONE);if (!removeOneData(dataList.get(position))) {Toast.makeText(AlbumActivity.this, Res.getString("only_choose_num"),200).show();}return;}if (isChecked) {chooseBt.setVisibility(View.VISIBLE);Bimp.tempSelectBitmap.add(dataList.get(position));okButton.setText(Res.getString("finish") "(" Bimp.tempSelectBitmap.size() "/" PublicWay.num ")");} else {Bimp.tempSelectBitmap.remove(dataList.get(position));chooseBt.setVisibility(View.GONE);okButton.setText(Res.getString("finish") "(" Bimp.tempSelectBitmap.size() "/" PublicWay.num ")");}isShowOkBt();}});okButton.setOnClickListener(new AlbumSendListener());}private boolean removeOneData(ImageItem imageItem) {if (Bimp.tempSelectBitmap.contains(imageItem)) {Bimp.tempSelectBitmap.remove(imageItem);okButton.setText(Res.getString("finish") "(" Bimp.tempSelectBitmap.size() "/" PublicWay.num ")");return true;}return false;}public void isShowOkBt() {if (Bimp.tempSelectBitmap.size() > 0) {okButton.setText(Res.getString("finish") "(" Bimp.tempSelectBitmap.size() "/" PublicWay.num ")");preview.setPressed(true);okButton.setPressed(true);preview.setClickable(true);okButton.setClickable(true);okButton.setTextColor(Color.WHITE);preview.setTextColor(Color.WHITE);} else {okButton.setText(Res.getString("finish") "(" Bimp.tempSelectBitmap.size() "/" PublicWay.num ")");preview.setPressed(false);preview.setClickable(false);okButton.setPressed(false);okButton.setClickable(false);okButton.setTextColor(Color.parseColor("#E1E0DE"));preview.setTextColor(Color.parseColor("#E1E0DE"));}}public boolean onKeyDown(int keyCode, KeyEvent event) {if (keyCode == KeyEvent.KEYCODE_BACK) {intent.setClass(AlbumActivity.this, ImageFile.class);startActivity(intent);}return false;}@Overrideprotected void onRestart() {isShowOkBt();super.onRestart();}
    2014-12-10下载
    积分:1
  • APK Edit v0.4e
    An Android Package editor for Windows
    2018-05-23 04:07:27下载
    积分:1
  • ADC
    NXP lpc1114 ADC测温程序,最小系统开发。测试通过。(NXP lpc1114 ADC measurement procedures, minimum system development. Test.)
    2013-06-24 10:30:29下载
    积分:1
  • odnnw
    介绍mimo比较经典的一篇文章主要详细的介绍了空间分集,时空编码等比较适合于初学者来学()
    2018-02-01 12:00:50下载
    积分:1
  • 乱码
    乱码
    2013-12-30下载
    积分:1
  • luminary_micro
    Luminary_micro 选型软件。(Luminary_micro Selection Software.)
    2009-12-07 22:30:42下载
    积分:1
  • 2015全国大学生电子设计竞赛风力摆
    脉冲宽度调制是一种模拟控制方式,根据相应载荷的变化来调制晶体管基极或MOS管栅极的偏置,来实现晶体管或MOS管导通时间的改变,从而实现开关稳压电源输出的改变。这种方式能使电源的输出电压在工作条件变化时保持恒定,是利用微处理器的数字信号对模拟电路进行控制的一种非常有效的技术。脉冲宽度调制是利用微处理器的数字输出来对模拟电路进行控制的一种非常有效的技术,广泛应用在从测量、通信到功率控制与变换的许多领域中。(Pulse width modulation (PWM) is an analog control method, which modulates the bias of transistor base or MOS gate according to the change of load, so as to change the turn-on time of transistor or MOS and realize the change of output of switching regulated power supply. This method can keep the output voltage of the power supply constant when the working conditions change. It is a very effective technology to control the analog circuit by using the digital signal of the microprocessor. Pulse width modulation (PWM) is a very effective technology to control analog circuits by using the digital output of microprocessors. It is widely used in many fields, from measurement, communication to power control and conversion.)
    2020-06-22 16:20:02下载
    积分:1
  • ImageFilterForAndroid-master(2)
    多种android端图像滤镜处理,lomo,黑白,高斯等(The android end image filter processing, lomo, black and white, Gaussian and other)
    2013-03-13 18:30:45下载
    积分:1
  • Armfly-STM32-SCH-SoftDemo
    非常不错的一款STM32开发板资料。 含原理图、用户手册、各类例程:USB虚拟串口、TFT显示例程、U盘例程、TCP通信、uCOS例程、MP3解码、步进电机例程等。有KEIL和IAR两套例程。 (A very good STM32 development board. Including schematics, user manual, all kinds of routines: USB virtual serial ports, TFT display routines, U disk routines, TCP communication, uCOS routines, MP3 decoding, stepper motor routines and so on.)
    2011-08-24 13:52:05下载
    积分:1
  • AbstractSet
    An AbstractSet is an abstract implementation of the Set interface for Andriod.
    2013-10-05 08:13:50下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载