首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏Helloted

    KVC Collection Operators

    集合运算有三种类型的运算: Aggregation Operators(聚合运算) 以某种方式合并集合的对象,并返回一个通常与右键路径中指定的属性的数据类型相匹配的对象。 Array Operators (数组运算): 返回一个NSArray实例,该实例包含指定集合中的一些对象子集。 Nesting Operators (嵌套运算):处理包含其他集合的集合,并根据运算符返回一个NSArray或NSSet实例,这个实例以某种方式组合嵌套集合的对象。 amountSum = [self.transactions valueForKeyPath:@"@sum.amount"]; 可以得到amount这个属性的总和 三、数组运算 The array operators The valueForKeyPath: method raises an exception if any of the leaf objects is nil when using nesting operators

    55320编辑于 2022-06-07
  • 来自专栏寻找石头鱼

    Rxjs常用operators

    返回 Observable,它发出由源 Observable 所发出的所有与之前的项都不相同的项。

    1.9K30发布于 2019-08-20
  • 来自专栏Theo Tsao

    RxSwift学习笔记之Operators

    创建操作 –> http://www.hangge.com/blog/cache/detail_1922.html 变换操作 –> http://www.hangge.com/blog/cache/detail_1932.html 过滤操作 –> http://www.hangge.com/blog/cache/detail_1933.html 组合操作 –> http://www.hangge.com/blog/cache/detail_1930.html 错误处理 –> http://www.hangge.com/blog/cache/detail_1936.html 辅助操作 –> http://www.hangge.com/blog/cache/detail_1950.html 条件和布尔操作 –> http://www.hangge.com/blog/cache/detail_1948.html 算术和聚合操作 –> http://www.hangge.com/blog/cache/detail_1934.html 连接操作 –> http://www.hangge.com/blog/cache/detail_1935.html

    50110发布于 2018-09-07
  • 来自专栏云计算与大数据

    Kubernetes|Operators Best Practices

    Introduction Kubernetes Operators are processes connecting to the master API and watching for events, Operators are implemented as a collection of controllers where each controller watches a specific resource This document presents a set of best practices to keep in mind when designing and developing operators library which you can import in your operator, giving you some useful utilities for writing your own operators Finally this set of best practices for writing operators represents my personal view and should not be

    1.3K10发布于 2019-07-12
  • 来自专栏Scott_Mr 个人专栏

    RxSwift 系列(七) -- Connectable Operators

    前言 本篇文章将要学习RxSwift中连接操作符。 Connectable Observable在订阅时不发射事件消息,而是仅当调用它们的connect()方法时才发射消息,这样就可以等待所有我们想要的订阅者都已经订阅了以后,再开始发出事件消息,这样能保证我们想要的所有订阅者都能接收到事件消息。其实也就是等大家都就位以后,开始发出消息。 在开始学习Connectable Observable之前,让我们来看一个non-connectable operator: let intervar = Observa

    89280发布于 2018-05-16
  • 来自专栏Scott_Mr 个人专栏

    RxSwift 系列(三) -- Combination Operators

    RxSwift 系列(三) -- Combination Operators 前言 本篇文章将要学习如何将多个Observables组合成一个Observable。 Combination Operators在RxSwift中的实现有五种: startWith merge zip combineLatest switchLatest startWith 在Observable

    1.1K70发布于 2018-05-16
  • 来自专栏全栈程序员必看

    Operators in MXNet-BatchNorm

    本篇文章将对mxnet的BatchNorm操作进行详细说明, 源码见src/operator/batch_norm-inl.h. 现将源码batch_norm-inl.h.及注释贴上. 源码的注释都是笔者自己写的, 有分析不对的地方网各位读者加以指正. 以后的BN层, 全连接层, 卷积层, 池化层, Dropout层只把层的参数部分, 前向传播和反向传播部分贴上.

    52510编辑于 2022-08-24
  • 来自专栏Reck Zhang

    LeetCode 0282 - Expression Add Operators

    Expression Add Operators Desicription Given a string that contains only digits 0-9 and a target value , return all possibilities to add binary operators (not unary) +, -, or * between the digits so they

    27840发布于 2021-08-11
  • 来自专栏计算机视觉与深度学习基础

    Expression Add Operators

    a string that contains only digits 0-9 and a target value, return all possibilities to add binary operators

    49780发布于 2018-01-12
  • 来自专栏Scott_Mr 个人专栏

    RxSwift 系列(六) -- Mathematical and Aggregate Operators

    前言 本篇文章将要学习RxSwift中数学和集合操作符,在RxSwift中包括了: toArray reduce concat toArray 将一个Observable序列转化为一个数组,并转换为一个新的Observable序列发射,然后结束。 let disposeBag = DisposeBag() Observable.of(1,2,3,4,5).toArray().subscribe(onNext: {print($0)}).disposed(by: disposeBag) 运行结果:

    1.5K120发布于 2018-05-16
  • 来自专栏Scott_Mr 个人专栏

    RxSwift 系列(八) -- Error Handing Operators

    前言 本篇文章我们将学习RxSwift中的错误处理,包括: catchErrorJustReturn catchError retry retry(_:) catchErrorJustReturn 遇

    73760发布于 2018-05-16
  • 来自专栏程序员叨叨叨

    6.6 条件操作符(Conditional Operators

    6.6 条件操作符(Conditional Operators) 条件操作符的语法格式为: expr1 ?

    80430发布于 2018-09-26
  • 来自专栏程序员叨叨叨

    6.2 逻辑操作符(Logical Operators

    6.2 逻辑操作符(Logical Operators) Cg语言中有3种逻辑操作符(也被称为boolean Operators),如表 2 所示,逻辑操作符运算后的返回类型均为bool类型。

    44030发布于 2018-08-28
  • 来自专栏JNing的专栏

    python: Bitwise Operators (位运算)

    Syntax Operator Function a & b 按位与 a | b 按位或 a ^ b 按位异或 ~ a 按位非 a << 2 左移 a >> 2 右移 Test a = 60 # 60 = 0011 1100 b = 13 # 13 = 0000 1101 print(a & b) # 0000 1100 = 12 print(a | b) # 0011 1101 = 61 print(a ^ b) # 0011 0001

    75330发布于 2018-09-27
  • 来自专栏Scott_Mr 个人专栏

    RxSwift 系列(四) -- Transforming Operators

    前言 本篇文章将要学习RxSwift中四种转换操作符: map flatMap flatMapLatest scan map 通过使用一个闭包函数将原来的Observable序列转换为一个新的Obse

    1.2K80发布于 2018-05-16
  • 来自专栏Scott_Mr 个人专栏

    RxSwift 系列(五) -- Filtering and Conditional Operators

    前言 本篇文章将要学习RxSwift中过滤和条件操作符,在RxSwift中包括了: filter distinctUntilChanged elementAt single take takeLast takeWhile takeUntil skip skipWhile skipWhileWithIndex skipUntil filter 在Observable序列中只发出满足过滤条件的事件。 let disposeBag = DisposeBag() Observable.of(1,2,3,4

    81570发布于 2018-05-16
  • 来自专栏AIUAI

    Caffe2 - (十二)自定义 Operators

    Caffe2 提供了很多 Operators - Operators Catalogue. 如果实际应用中需要自定义新的 Operators,其实现如下. 1. 的实现是在 .cc 中; 某些 operators 有 GPU/CUDA 实现,是在 .cu 中. #include "caffe2/operators/fully_connected_op.h" namespace caffe2 { namespace { REGISTER_CPU_OPERATOR Caffe2 Operators 的单元测试(Unit Testing) 单元测试能够确保 operator 的正确实现. Reference [1] - Caffe2 - Custom Operators

    87460发布于 2019-02-18
  • 来自专栏计算机视觉与深度学习基础

    Expression Add Operators

    a string that contains only digits 0-9 and a target value, return all possibilities to add binary operators

    70360发布于 2018-03-27
  • 来自专栏算法修养

    Expression Add Operators(DFS)

    题解:不给数据范围,很显然就会考虑到超时,每个字符后面有四种选择,如果暴搜的话,字符长度超过10几个,就很快超时了。

    38420发布于 2020-03-09
  • 来自专栏程序员叨叨叨

    6.3 数学操作符(Math Operators

    6.3 数学操作符(Math Operators) Cg语言对向量的数学操作提供了内置的支持,Cg中的数学操作符有:*乘法、/除法、-取反、+加法、—减法、%求余、++、——、*=、/=、+=、-=。

    67210发布于 2018-08-28
领券