Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 4,090 for gather (0.26 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize_composite_functions.mlir

        return %0 : tensor<2x3x2x2xf32>
      }
    // CHECK: %[[GATHER:.+]] = "stablehlo.gather"(%[[ARG_0]], %[[ARG_1]]) {{.*}} : (tensor<3x4x2x!quant.uniform<i8:f32, {{.*}}>>, tensor<2x3x2xi32>) -> tensor<2x3x2x2x!quant.uniform<i8:f32, {{.*}}>>
    // CHECK: %[[UNIFORM_QUANTIZE_0:.+]] = stablehlo.uniform_quantize %[[GATHER]] : tensor<2x3x2x2x!quant.uniform<i8:f32, {{.*}}>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 91.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/autoscaling/v1/types.go

    // (only `type` and one other matching field should be set at once).
    type MetricSpec struct {
    	// type is the type of metric source.  It should be one of "ContainerResource",
    	// "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
    	// Note: "ContainerResource" type is available on when the feature-gate
    	// HPAContainerMetrics is enabled
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/cc/config_test.cc

      // user-provided specs are appended.
      //
      // It should look like:
      //
      // specs {matcher {function_name {regex: ".*"}} method {static_range_ptq {}}}
      // specs {
      //   matcher {function_name {regex: "composite_conv.*"}}
      //   method {static_range_ptq {...}}}
      // }
      // specs {
      //   matcher {function_name {regex: "composite_dot_general_fn_1"}}
      //   method {no_quantization {}}
      // }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 06:59:34 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/lift_quantizable_spots_as_functions.mlir

    // CHECK: return %[[XLA_CALL_MODULE:.*]] : tensor<2x3x2x2xi32>
    // CHECK: }
    
    // CHECK-LABEL: private @composite_gather_fn_1
    // CHECK: %[[GATHER:.*]] = "stablehlo.gather"(%arg0, %arg1)
    // CHECK: return %[[GATHER]] : tensor<2x3x2x2xi32>
    // CHECK: }
    
    // -----
    
    // Test that the name of composite functions are deterministic. There are 3
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

      }
    };
    
    // Lowers ResizeNearestNeighbor to an indices computations with a gather along
    // the combined spatial dimensions. Generating the indices along the
    // width/height index could be used to gather along each of W and H dimension
    // of the input image array. To reduce to a single gather, these indices are
    // combined, so a single gather can be performed along the combined spatial
    // dimensions.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

    // CHECK:            %[[VAL_0:.*]] = "tf.GatherNd"(%[[ARG_0]], %[[ARG_1]]) <{bad_indices_policy = ""}> : {{.*}} -> tensor<192x256xf16>
    // CHECK:            return %[[VAL_0]]
    // CHECK:         }
    func.func @convert_gather(%arg0: tensor<147456xf16>, %arg1: tensor<192x256x1xi32>) -> tensor<192x256xf16> {
      %0 = "mhlo.gather"(%arg0, %arg1) {
        dimension_numbers = #mhlo.gather<
          collapsed_slice_dims = [0],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 340.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    def LegalizeLessEqual : Pat<(TF_LessEqualOp $l, $r), (TFL_LessEqualOp $l, $r)>;
    def LegalizeGreaterEqual : Pat<(TF_GreaterEqualOp $l, $r),
                                   (TFL_GreaterEqualOp $l, $r)>;
    
    // Gather in TF -> Gather in TFL with axis=0
    // The 'validate_indices' attribute is deprecated.
    def LegalizeGather: Pat<
      (TF_GatherOp $params, $indices, $ignored_validate_indices),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

        return success();
      }
    
      // Convert gather op to tf.slice and tf.concat
      LogicalResult ConvertGatherOpToSlice(
          mhlo::GatherOp gather_op, ConversionPatternRewriter& rewriter) const {
        Value operand = gather_op.getOperand();
        Value start_indices = gather_op.getStartIndices();
        static const int rank_two = 2;
        // This converts a gather op to multiple slice ops, cap the number of slice
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/prepare-quantize-dynamic-range.mlir

    // PerTensor-LABEL: QuantizeGatherWeightOnly
    func.func @QuantizeGatherWeightOnly(%arg0: tensor<3xi32>) -> tensor<3x3x3x3xf32> {
      %w = arith.constant dense<1.270000e+02> : tensor<64x3x3x3xf32>
      %emb = "tfl.gather"(%w, %arg0) {axis = 0 : i32, batch_dims = 0 : i32} : (tensor<64x3x3x3xf32>, tensor<3xi32>) -> tensor<3x3x3x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  10. src/os/types_windows.go

    	path             string
    	vol              uint32
    	idxhi            uint32
    	idxlo            uint32
    	appendNameToPath bool
    }
    
    // newFileStatFromGetFileInformationByHandle calls GetFileInformationByHandle
    // to gather all required information about the file handle h.
    func newFileStatFromGetFileInformationByHandle(path string, h syscall.Handle) (fs *fileStat, err error) {
    	var d syscall.ByHandleFileInformation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top