Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for const2 (0.25 sec)

  1. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

      ASSERT_THAT(status, Eq(kTfLiteOk));
      const auto& subgraph = model_.subgraphs[0];
      auto conv_op = subgraph->operators[0].get();
      const int input_tensor_idx = 0;
      const int weights_tensor_idx = 1;
      const int bias_tensor_index = 2;
      const int output_tensor_idx = 0;
      const auto bias_tensor =
          subgraph->tensors[conv_op->inputs[bias_tensor_index]].get();
      const auto input_tensor =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

    // TODO(krzysd) Handle function calls
    StatusOr<Operation*> ConvertOp(
        const tflite::OperatorT& op, const std::vector<Value>& vals_map,
        const std::vector<mlir::TensorType>& intermediate_types,
        Value optional_arg_marker,
        const std::vector<std::unique_ptr<tflite::OperatorCodeT>>& op_codes,
        const std::vector<std::string>& func_names,
        const std::vector<std::unique_ptr<tflite::TensorT>>& tensors, Location loc,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

    template <typename R>
    void UpdateTensorListResultTypesForIf(
        const llvm::SmallSet<int, 4> &tensor_list_index,
        const llvm::SmallSet<int, 4> &resized_tensor_list_index,
        const llvm::DenseMap<int, int> &tensor_list_map, ArrayRef<Type> types,
        R &&range, ValueRange operands,
        llvm::SmallVectorImpl<Type> *updated_types) {
      int i = 0;
      for (const auto it : llvm::zip(types, range)) {
        if (!tensor_list_index.count(i)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

        if (!input_type) {
          return failure();
        }
        const ArrayRef<int64_t> input_shape = input_type.getShape();
    
        const int input_size = input_shape.size();
    
        RankedTensorType begin_type = mlir::cast<RankedTensorType>(begin.getType());
        const ArrayRef<int64_t> begin_shape = begin_type.getShape();
        const int begin_dim = begin_shape.size();
    
        if (begin_dim != 1) return failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  5. src/go/types/api_test.go

    		val  string // constant value
    	}{
    		{`package a0; const _ = false`, `false`, `untyped bool`, `false`},
    		{`package a1; const _ = 0`, `0`, `untyped int`, `0`},
    		{`package a2; const _ = 'A'`, `'A'`, `untyped rune`, `65`},
    		{`package a3; const _ = 0.`, `0.`, `untyped float`, `0`},
    		{`package a4; const _ = 0i`, `0i`, `untyped complex`, `(0 + 0i)`},
    		{`package a5; const _ = "foo"`, `"foo"`, `untyped string`, `"foo"`},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/decompose_resource_ops.mlir

    func.func @decomposition_outside_cluster() {
      %0 = "tf.VarHandleOp"() {container = "c", shared_name = "v"} : () -> tensor<*x!tf_type.resource<tensor<2x8xi32>>>
      // CHECK:      %[[ONE:.*]] = "tf.Const"() <{value = dense<1> : tensor<i32>}>
      %1 = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32>
      // CLUSTER-ONLY: "tf.AssignAddVariableOp"
      // ALWAYS-DECOMPOSE-NOT:  "tf.AssignAddVariableOp"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  7. src/crypto/tls/common.go

    // TLS Elliptic Curve Point Formats
    // https://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-9
    const (
    	pointFormatUncompressed uint8 = 0
    )
    
    // TLS CertificateStatusType (RFC 3546)
    const (
    	statusTypeOCSP uint8 = 1
    )
    
    // Certificate types (for certificateRequestMsg)
    const (
    	certTypeRSASign   = 1
    	certTypeECDSASign = 64 // ECDSA or EdDSA keys, see RFC 8422, Section 3.
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  8. src/net/http/httputil/reverseproxy_test.go

    	"os"
    	"reflect"
    	"slices"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    )
    
    const fakeHopHeader = "X-Fake-Hop-Header-For-Test"
    
    func init() {
    	inOurTests = true
    	hopHeaders = append(hopHeaders, fakeHopHeader)
    }
    
    func TestReverseProxy(t *testing.T) {
    	const backendResponse = "I am the backend"
    	const backendStatus = 404
    	backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  9. src/syscall/zerrors_solaris_amd64.go

    // mkerrors.sh -m64
    // Code generated by the command above; DO NOT EDIT.
    
    // Created by cgo -godefs - DO NOT EDIT
    // cgo -godefs -- -m64 _const.go
    
    //go:build amd64 && solaris
    
    package syscall
    
    const (
    	AF_802                        = 0x12
    	AF_APPLETALK                  = 0x10
    	AF_CCITT                      = 0xa
    	AF_CHAOS                      = 0x5
    	AF_DATAKIT                    = 0x9
    	AF_DECnet                     = 0xc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 50.8K bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

    	//	void __cgo_f_xxx_2(void) { name *__cgo_undefined__2; }
    	//	#line xxx "not-int-const"
    	//	void __cgo_f_xxx_3(void) { enum { __cgo_undefined__3 = (name)*1 }; }
    	//	#line xxx "not-num-const"
    	//	void __cgo_f_xxx_4(void) { static const double __cgo_undefined__4 = (name); }
    	//	#line xxx "not-str-lit"
    	//	void __cgo_f_xxx_5(void) { static const char __cgo_undefined__5[] = (name); }
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top