Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 660 for weights (0.12 sec)

  1. tensorflow/compiler/mlir/lite/utils/lstm_utils.cc

      input_ = fused_func_op_.getArgument(0);
      bias_ = fused_func_op_.getArgument(2);
    
      weight_ = fused_func_op_.getArgument(1);
      weight_type_ = mlir::cast<RankedTensorType>(weight_.getType());
    
      if (weight_type_.getRank() != 2) {
        return fused_func_op_.emitError() << "The weight tensor was not of rank 2";
      }
    
      if (weight_type_.getDimSize(1) % num_gates_ != 0) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/preprocess_op.cc

                             METHOD_STATIC_RANGE_WEIGHT_ONLY_INT8,
                         "weight_only", "Post-training weight-only quantizaiton"))};
    
      Option<bool> enable_per_channel_quantization_{
          *this, "enable-per-channel-quantization", llvm::cl::init(false),
          llvm::cl::desc("Whether enable per-channel quantized weights.")};
    };
    
    // Apply constant transformations for the op_set.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. src/internal/profile/graph.go

    		ret += edge.Weight
    	}
    	return ret
    }
    
    type edgeList []*Edge
    
    func (el edgeList) Len() int {
    	return len(el)
    }
    
    func (el edgeList) Less(i, j int) bool {
    	if el[i].Weight != el[j].Weight {
    		return abs64(el[i].Weight) > abs64(el[j].Weight)
    	}
    
    	from1 := el[i].Src.Info.PrintableName()
    	from2 := el[j].Src.Info.PrintableName()
    	if from1 != from2 {
    		return from1 < from2
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 20:59:15 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_tpu_ops.td

        $constant_operand_indices are the indices of the inputs that are constant to the TPU program (e.g. weights in inference), the rest of the inputs are input tensors.
        constant_operand_indices is sorted in ascending order.
        $operands_with_static_shape are indices of operands that are tagged with a maximum static shape.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 04 21:25:31 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_composite_functions.cc

          enable_per_channel_quantized_weight_;
      // Change this to user-given bit width once we have custom configuration.
      options.bit_width_ = 8;
    
      // Insert quantization parameters for weights for ops with `weight_only_ptq`
      // attribute.
      pm.addNestedPass<func::FuncOp>(createInsertWeightParamPass());
    
      // PrepareQuantizePass uses SymbolTable to fetch relevant GEMM ops for
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

                  input.getDefiningOp())) {
            // Tensors with derived scale are biases, and handled in propagation.
            if (tensor_property.use_derived_scale) continue;
            // For weights, use quantization scale inferred from the values.
            if (failed(processConstantOp(op, input.getDefiningOp(), index,
                                         tensor_property, rewriter))) {
              return failure();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions_drq.cc

                         "Uses TF Uniform Quantized ops"))};
    
      Option<int64_t> min_num_elements_for_weights_{
          *this, "min-num-elements-for-weights", llvm::cl::init(0),
          llvm::cl::desc("The minimum required number of elements in a weight "
                         "array to apply quantization.")};
    
      Option<QuantMethod> quantization_method_{
          *this, "quantization-method",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/interpodaffinity/scoring_test.go

    		},
    		// Consider Affinity, Anti Affinity and symmetry together.
    		// for Affinity, the weights are:                8,  0,  0,  0
    		// for Anti Affinity, the weights are:           0, -5,  0,  0
    		// for Affinity symmetry, the weights are:       0,  0,  8,  0
    		// for Anti Affinity symmetry, the weights are:  0,  0,  0, -5
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 44.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc

        LOG(INFO) << quantized_tensor->name()->str() << " "
                  << float_tensor->name()->str();
        if (ExpectEqualTensor(quantized_tensor, float_tensor)) {
          if (quantized && quantized_tensor->name()->str().find("weights")) {
            // If tensor is quantized, data type and buffer contents can be
            // different between float and quantized tensors. So do those tests
            // separately in the test body without checking them here.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_ops.td

        $constant_operand_indices are the indices of the inputs that are constant to the TPU program (e.g. weights in inference), the rest of the inputs are input tensors.
        constant_operand_indices is sorted in ascending order.
        $operands_with_static_shape are indices of operands that are tagged with a maximum static shape.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:35:32 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top