Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for build_list (0.12 sec)

  1. tensorflow/compiler/mlir/tfr/tests/canonicalize.mlir

      %0 = "arith.constant"() {value = 42 : i32} : () -> i32
      %1 = "arith.constant"() {value = 41 : i32} : () -> i32
      %2 = "tfr.build_list"(%0, %1) : (i32, i32) -> !tfr.attr
      %3 = "tfr.build_list"(%0, %1) : (i32, i32) -> !tfr.attr
      %4 = "tfr.build_list"(%2, %3) : (!tfr.attr, !tfr.attr) -> !tfr.attr
      func.return %4 : !tfr.attr
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/tests/decompose.mlir

    // CHECK-NEXT: %[[bl:.*]] = "tfr.build_list"(%[[id1]], %[[id2]]) : (!tfr.tensor, !tfr.tensor) -> !tfr.tensor_list
    // CHECK-NEXT: tfr.return %[[bl]] : !tfr.tensor_list
    }
    
    // CHECK-LABEL: @tf__my_max_pool
    tfr.func @tf__my_max_pool(%input_: !tfr.tensor, %stride_w: i64{tfr.name="stride_w"}, %stride_h: i64{tfr.name="stride_h"}) -> (!tfr.tensor) {
      %cst_1 = arith.constant 1 : i64
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/tests/ops.mlir

      %0 = tfr.get_element %arg0[%cst] : (!tfr.tensor_list<T>, index) -> !tfr.tensor
      func.return %0 : !tfr.tensor
    }
    
    // -----
    
    // CHECK-LABEL: build_list
    func.func @build_list(%arg0: !tfr.tensor<A>, %arg1: !tfr.tensor<B>) -> !tfr.tensor_list {
      %0 = "tfr.build_list"(%arg0, %arg1) : (!tfr.tensor<A>, !tfr.tensor<B>) -> !tfr.tensor_list
      func.return %0 : !tfr.tensor_list
    }
    
    // -----
    
    // CHECK-LABEL: quant_act_range
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 14 22:15:06 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/python/tfr_gen_test.py

          CHECK:        %[[list:.*]] = "tfr.build_list"(%[[qparam]]#0, %[[qparam]]#0) : (!tfr.tensor, !tfr.tensor) -> !tfr.tensor_list
          CHECK:        %[[factor:.*]] = tfr.quant_scale_factor(%{{.*}}, %[[list]]) : (f32, !tfr.tensor_list) -> (!tfr.tensor)
          CHECK:        %[[list1:.*]] = "tfr.build_list"(%[[factor]]) : (!tfr.tensor) -> !tfr.tensor_list
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 28.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

      }];
    }
    
    def TFR_BuildListOp : TFR_Op<"build_list", [Pure]> {
      let description = [{
       The `build_list` operation builds a tensor list from a list of tensors, or
       an tfr.attr from a list of scalars.
    
        Example:
    
        ```mlir
        %3 = tfr.build_list(%2, %1, %0) :
          (tfr.tensor, tfr.tensor, tfr.tensor) -> tfr.tensor_list
        %3 = tfr.build_list(%2, %1, %0) : (i32, i32, i32) -> tfr.attr
        ```
      }];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

                                     derived_attrs))) {
            return failure();
          }
          continue;
        }
    
        // 2. The preceding op is a tfr.build_list op, which collects multiple
        // values with tensor types via the tfr.cast ops. These ops will be fused
        // to the current op as well, so all the tfr.cast op inputs will be inputs
        // to the result op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/passes/decompose.cc

        // Create the new operands. This is mapping the operands from the target
        // TF ops to the TFR function arguments. If the TFR function argument is
        // a tensor_list, a "tfr.build_list" op is used to concat the available
        // TF op operands. If the TFR function argument isn't a tensor/tensor_list,
        // a constant is created by using the attribute stored in the TF op or the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. src/go/build/build_test.go

    jchen038 <******@****.***> 1669709154 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  9. src/cmd/go/internal/mvs/mvs.go

    // of the list are sorted by path.
    //
    // See https://research.swtch.com/vgo-mvs for details.
    func BuildList(targets []module.Version, reqs Reqs) ([]module.Version, error) {
    	return buildList(targets, reqs, nil)
    }
    
    func buildList(targets []module.Version, reqs Reqs, upgrade func(module.Version) (module.Version, error)) ([]module.Version, error) {
    	cmp := func(p, v1, v2 string) int {
    		if reqs.Max(p, v1, v2) != v1 {
    			return -1
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 21:58:12 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/FunctionCallResolver.kt

            context: AnalysisContext
        ): List<FunctionResolutionAndBinding> {
            var hasErrorInReceiverResolution = false
            val overloads: List<FunctionResolutionAndBinding> = buildList {
                when (functionCall.receiver) {
                    is Expr -> {
                        val receiver = expressionResolver.doResolveExpression(context, functionCall.receiver)
                        if (receiver != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top