Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 185 for Axis (0.05 sec)

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

        %2 = "quantfork.stats"(%1) {layerStats = dense<[4.00000000e-6, 9.80000000e-1]> : tensor<2xf32>} : (tensor<1x2xf32>) -> tensor<1x2xf32>
    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. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

          int64_t window_dimension = window_dimensions.getValues<int64_t>()[i];
          if (window_dimension == 1) continue;
          // Cumulative axis already set.
          if (cumulative_axis != -1) return failure();
          // Potential cumulative axis is not the right size.
          if (window_dimension != operand_type.getShape()[i]) return failure();
          cumulative_axis = i;
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  3. RELEASE.md

    `tf.reduce_join`: `reduction_indices` becomes `axis` * `tf.reduce_logsumexp`:
    `reduction_indices` becomes `axis` * `tf.reduce_max`: `reduction_indices`
    becomes `axis` * `tf.reduce_mean`: `reduction_indices` becomes `axis` *
    `tf.reduce_min`: `reduction_indices` becomes `axis` * `tf.reduce_prod`:
    `reduction_indices` becomes `axis` * `tf.reduce_sum`: `reduction_indices`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

                "shape ",
                first_shape.DebugString(), " and another had shape ",
                component_shape.DebugString()));
          } else {
            // Generalize differing axis lengths to "variable"/"unknown".
            for (int axis_index = 0; axis_index < combined_shape.dims();
                 ++axis_index) {
              int64_t axis_length = combined_shape.dim_size(axis_index);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 07:47:20 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/promote_resources_to_args.mlir

           (tensor<i1>, tensor<!tf_type.resource<tensor<f32>>>, tensor<f32>) -> tensor<f32>
      %5 = "tf.Identity"(%4) : (tensor<f32>) -> tensor<f32>
      %6 = "tf.Pack"(%2, %5) {N = 2 : i64, T = f32, axis = 0 : i64, device = ""} : (tensor<f32>, tensor<f32>) -> tensor<2xf32>
      func.return %6 : tensor<2xf32>
    }
    
    // -----
    
    // Tests resource passed in as an argument is not modified and not returned.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

                    np.random.uniform(
                        low=-(i + 1), high=(i + 1), size=filter_shape[:-2]
                    ).astype('f4')
                    for i in range(self.out_channel_size)
                ],
                axis=-1,
            )
            self.filters = self.filters.reshape(filter_shape)
    
            self.bias = np.random.uniform(
                low=0, high=10, size=(self.out_channel_size)
            ).astype('f4')
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tensor_array_ops_decomposition.mlir

      // CHECK: %[[READ:.*]] = "tf.ReadVariableOp"(%[[VAR]]) : (tensor<!tf_type.resource<tensor<5x3xf32>>>) -> tensor<5x3xf32>
      // CHECK: %[[AXIS:.*]] = "tf.Const"() <{value = dense<0> : tensor<i32>}> : () -> tensor<i32>
      // CHECK: %[[GATHER:.*]] = "tf.GatherV2"(%[[READ]], %[[INDS]], %[[AXIS]]) : (tensor<5x3xf32>, tensor<2xi32>, tensor<i32>) -> tensor<2x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 49K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

            adjust *= 31;
            adjust = ~~adjust;
            // in GWT, we have to deal with integer overflow carefully
          }
          int hash = 1;
          for (Set<E> axis : axes) {
            hash = 31 * hash + (size() / axis.size() * axis.hashCode());
    
            hash = ~~hash;
          }
          hash += adjust;
          return ~~hash;
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

                   PatternRewriter& rewriter) const override {
        Type output_type = op.getResult().getType();
        uint32_t axis = CastI64ToI32(op.getDimension()).value();
        rewriter.replaceOpWithNewOp<TFL::ConcatenationOp>(
            op, output_type, op.getOperands(), axis,
            /*fused_activation_function=*/rewriter.getStringAttr("NONE"));
      }
    };
    
    // Rewrites quantized stablehlo.pad to tfl.padv2.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/test_schema.fbs

    table TopKV2Options {
    }
    
    enum CombinerType : byte {
      SUM = 0,
      MEAN = 1,
      SQRTN = 2,
    }
    
    table EmbeddingLookupSparseOptions {
      combiner:CombinerType;
    }
    
    table GatherOptions {
      axis: int;
    }
    
    table TransposeOptions {
    }
    
    table ExpOptions {
    }
    
    table CosOptions {
    }
    
    table ReducerOptions {
      keep_dims: bool;
    }
    
    table SqueezeOptions {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 19 19:46:06 UTC 2021
    - 26.1K bytes
    - Viewed (0)
Back to top