Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 425 for qint (0.09 sec)

  1. src/vendor/golang.org/x/net/lif/binary.go

    	_ = b[1] // bounds check hint to compiler; see golang.org/issue/14808
    	return uint16(b[0]) | uint16(b[1])<<8
    }
    
    func (binaryLittleEndian) PutUint16(b []byte, v uint16) {
    	_ = b[1] // early bounds check to guarantee safety of writes below
    	b[0] = byte(v)
    	b[1] = byte(v >> 8)
    }
    
    func (binaryLittleEndian) Uint32(b []byte) uint32 {
    	_ = b[3] // bounds check hint to compiler; see golang.org/issue/14808
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.h

      //
      // Returns `true` if successful. Returns `std::nullopt` otherwise.
      //
      // If the function signature changes, likely its corresponding .pyi type
      // hinting and definition should also change.
      // LINT.IfChange(save_exported_model)
      virtual std::optional<bool> SaveExportedModel(
          absl::string_view dst_saved_model_path,
          const ExportedModel& exported_model,
          absl::string_view src_saved_model_path,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 09 06:33:29 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. src/internal/byteorder/byteorder.go

    // Package byteorder provides functions for decoding and encoding
    // little and big endian integer types from/to byte slices.
    package byteorder
    
    func LeUint16(b []byte) uint16 {
    	_ = b[1] // bounds check hint to compiler; see golang.org/issue/14808
    	return uint16(b[0]) | uint16(b[1])<<8
    }
    
    func LePutUint16(b []byte, v uint16) {
    	_ = b[1] // early bounds check to guarantee safety of writes below
    	b[0] = byte(v)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 20:31:29 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/lower_quantized.mlir

    // RUN: tf-opt %s -test-tf-lower-tf | FILECHECK_OPTS="" FileCheck %s
    
    // CHECK-LABEL: dequantize
    func.func @dequantize(%arg0: tensor<2x3x!tf_type.qint8>, %min_range: tensor<f32>, %max_range: tensor<f32>) -> tensor<2x3xf32> {
      // CHECK-DAG: %[[HALF_RANGE:.*]] = "tf.Const"() <{value = dense<1.280000e+02> : tensor<f32>}>
      // CHECK-DAG: %[[C255:.*]] = "tf.Const"() <{value = dense<2.550000e+02> : tensor<f32>}>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. src/internal/trace/batchcursor.go

    		i = m
    	}
    	return i
    }
    
    func min3(b []*batchCursor, i0, i1, i2 int) int {
    	minIdx := i0
    	minT := maxTime
    	if i0 < len(b) {
    		minT = b[i0].ev.time
    	}
    	if i1 < len(b) {
    		if t := b[i1].ev.time; t < minT {
    			minT = t
    			minIdx = i1
    		}
    	}
    	if i2 < len(b) {
    		if t := b[i2].ev.time; t < minT {
    			minT = t
    			minIdx = i2
    		}
    	}
    	return minIdx
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. .github/workflows/reviewdog.yml

    name: reviewdog
    on: [pull_request]
    jobs:
      golangci-lint:
        name: runner / golangci-lint
        runs-on: ubuntu-latest
        steps:
          - name: Check out code into the Go module directory
            uses: actions/checkout@v4
          - name: golangci-lint
            uses: reviewdog/action-golangci-lint@v2
    
          - name: Setup reviewdog
            uses: reviewdog/action-setup@v1
    
          - name: gofumpt -s with reviewdog
            env:
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Oct 10 06:50:45 UTC 2023
    - 664 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc

        output_quantization_max_val = 127 : i64,
        output_quantization_min_val = -128 : i64
      } : (
        tensor<10x!tf_type.qint8>, tensor<f32>, tensor<i32>, tensor<f32>,
        tensor<i32>
      ) -> tensor<10x!tf_type.qint8>
      %2 = "tf.Cast"(%1) {} : (tensor<10x!tf_type.qint8>) -> tensor<10xi8>
      return %2 : tensor<10xi8>
    })mlir";
      TF_ASSERT_OK_AND_ASSIGN(auto input, CreateRandomI8Literal({10}));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 03 01:03:21 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  8. common/scripts/lint_go.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    if [[ "${ARTIFACTS}" != "" ]]; then
      golangci-lint run -v -c ./common/config/.golangci.yml --out-format colored-line-number,junit-xml:"${ARTIFACTS}"/junit-lint.xml
    else
      golangci-lint run -v -c ./common/config/.golangci.yml
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 26 21:57:53 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_types.def

    // This file contains descriptions of the various TensorFlow types. This is
    // used as a central place for enumerating the different types.
    
    #ifdef HANDLE_TF_TYPE
    
    //             class, enumerant, name
    HANDLE_TF_TYPE(Qint8, QINT8, "qint8")
    HANDLE_TF_TYPE(Qint16, QINT16, "qint16")
    HANDLE_TF_TYPE(Qint32, QINT32, "qint32")
    HANDLE_TF_TYPE(Quint8, QUINT8, "quint8")
    HANDLE_TF_TYPE(Quint16, QUINT16, "quint16")
    HANDLE_TF_TYPE(String, STRING, "string")
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Sep 09 03:12:53 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/python/pywrap_quantize_model.cc

      pybind11_protobuf::ImportNativeProtoCasters();
    
      m.def(
          // If the function signature changes, likely its corresponding .pyi type
          // hinting should also change.
          // LINT.IfChange
          "quantize_qat_model",
          [](const absl::string_view src_saved_model_path,
             const absl::string_view dst_saved_model_path,
             const QuantizationOptions& quantization_options,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 09 06:33:29 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top