Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 47 for numBits (0.13 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

        weight = array_ops.fake_quant_with_min_max_args(
            weight, min=-0.1, max=0.2, num_bits=8, narrow_range=False
        )
    
        # shape: (2, 2)
        output_tensor = math_ops.matmul(matmul_input, weight)
        # Insert fake quant to simulate a QAT model.
        output_tensor = array_ops.fake_quant_with_min_max_args(
            output_tensor, min=-0.2, max=0.2, num_bits=8, narrow_range=False
        )
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    			}
    			tagMismatch := !isReplicated(tagCount, numSites, tagSet)
    			olockCfgMismatch := !isReplicated(olockCfgCount, numSites, olockConfigSet)
    			sseCfgMismatch := !isReplicated(sseCfgCount, numSites, sseCfgSet)
    			versionCfgMismatch := !isReplicated(versionCfgCount, numSites, versionCfgSet)
    			policyMismatch := !isBktPolicyReplicated(numSites, policies)
    			replCfgMismatch := !isBktReplCfgReplicated(numSites, replCfgs)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  3. tensorflow/c/tf_tensor.cc

    void TF_SetShape(TF_Tensor* t, const int64_t* dims, int num_dims) {
      tensorflow::down_cast<tensorflow::TensorInterface*>(t->tensor)->SetShape(
          dims, num_dims);
    }
    
    int TF_NumDims(const TF_Tensor* t) { return t->tensor->NumDims(); }
    
    int64_t TF_Dim(const TF_Tensor* t, int dim_index) {
      return t->tensor->Dim(dim_index);
    }
    
    size_t TF_TensorByteSize(const TF_Tensor* t) { return t->tensor->ByteSize(); }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 21:57:32 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc

        Type weight_type;
        if (IsPerTensor(weight_only_ptq)) {
          weight_type = dyn_cast<quant::QuantizedType>(
              quant::GetUniformQuantizedTypeForWeight(
                  attr, /*symmetric=*/true, /*num_bits=*/8, /*is_signed=*/true,
                  /*narrow_range=*/true, /*legacy_float_scale=*/false));
        } else {
          int quantization_dimension = GetQuantizationDimension(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_without_identity.pbtxt

      input: "BoxPredictor_4/ClassPredictor/weights_quant/max"
      attr {
        key: "narrow_range"
        value {
          b: true
        }
      }
      attr {
        key: "num_bits"
        value {
          i: 8
        }
      }
    }
    node {
      name: "BoxPredictor_4/ClassPredictor/Conv2D"
      op: "Conv2D"
      input: "input"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_without_identity_4bit.pbtxt

      input: "BoxPredictor_4/ClassPredictor/weights_quant/max"
      attr {
        key: "narrow_range"
        value {
          b: true
        }
      }
      attr {
        key: "num_bits"
        value {
          i: 4
        }
      }
    }
    node {
      name: "BoxPredictor_4/ClassPredictor/Conv2D"
      op: "Conv2D"
      input: "input"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel_4bit.pbtxt

      input: "BoxPredictor_4/ClassPredictor/weights_quant/max/read"
      attr {
        key: "narrow_range"
        value {
          b: true
        }
      }
      attr {
        key: "num_bits"
        value {
          i: 4
        }
      }
    }
    node {
      name: "BoxPredictor_4/ClassPredictor/Conv2D"
      op: "Conv2D"
      input: "input"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel.pbtxt

      input: "BoxPredictor_4/ClassPredictor/weights_quant/max/read"
      attr {
        key: "narrow_range"
        value {
          b: true
        }
      }
      attr {
        key: "num_bits"
        value {
          i: 8
        }
      }
    }
    node {
      name: "BoxPredictor_4/ClassPredictor/Conv2D"
      op: "Conv2D"
      input: "input"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.cc

      if (!IsLegalQuantSpecs(func)) {
        return true;
      }
    
      OpBuilder builder(func);
      bool is_signed = quant_specs_.IsSignedInferenceType();
      IntegerAttr num_bits =
          builder.getI32IntegerAttr(quant_specs_.GetQuantizationTypeWidth());
      BoolAttr narrow_range = builder.getBoolAttr(false);
    
      auto add_quantize_op = [&](Location loc, Type input_type, Block* block,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. cmd/format-erasure.go

    	format.Erasure.Version = formatErasureVersionV3
    	format.Erasure.DistributionAlgo = formatErasureVersionV3DistributionAlgoV3
    	format.Erasure.Sets = make([][]string, numSets)
    
    	for i := 0; i < numSets; i++ {
    		format.Erasure.Sets[i] = make([]string, setLen)
    		for j := 0; j < setLen; j++ {
    			format.Erasure.Sets[i][j] = mustGetUUID()
    		}
    	}
    	return format
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top