Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MergeWith (0.2 sec)

  1. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/utils/SublistMerger.kt

            f()
            finish()
        }
    }
    
    public fun <A : Any> List<A>.mergeWith(f: SublistMerger<A>.() -> Unit): List<A> =
        mutableListOf<A>().also { destination -> mergeInto(destination, f) }
    
    public inline fun <A : Any, reified R : A> List<A>.mergeOnly(crossinline create: (List<R>) -> A?): List<A> =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/shape_inference.cc

    }
    
    absl::StatusOr<InferredShape> MergeInferredShapes(const InferredShape& a,
                                                      const InferredShape& b) {
      InferredShape result;
      TF_RETURN_IF_ERROR(a.shape.MergeWith(b.shape, &result.shape));
    
      if (a.handle_type == DT_INVALID) {
        result.handle_type = b.handle_type;
      } else if (b.handle_type == DT_INVALID) {
        result.handle_type = a.handle_type;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top