Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for Sizes (0.03 sec)

  1. tensorflow/compiler/mlir/lite/utils/string_utils.h

      // Max length in number of characters that we permit the total
      // buffer containing the concatenation of all added strings to be.
      // For historical reasons this is limited to 32bit length. At this files
      // inception, sizes were represented using 32bit which forced an implicit cap
      // on the size of the buffer. When this was refactored to use size_t (which
      // could be 64bit) we enforce that the buffer remains at most 32bit length to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow_to_stablehlo/tf_to_stablehlo.h

    //    Ignored for MLIR input.
    //  input_arg_shapes_str:  A string representation of input argument shapes for
    //    'main' entry-point, separating tensors with ':', dimension with ',', and
    //    using '?' for unknown sizes. For example, 'input-arg-shapes=1,2::1,?'
    //    expresses argument shapes [1,2], [] and [1,?].
    //  is_input_mlir_module: If true, `input_path` is treated as an MLIR
    //    module instead of a SavedModel.
    //
    // Returns:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/runtime/tracetype.go

    	maxBytes := 1 + 5*traceBytesPerNumber + len(typName)
    
    	// Estimate the size of this record. This
    	// bound is pretty loose, but avoids counting
    	// lots of varint sizes.
    	//
    	// Add 1 because we might also write a traceAllocFreeTypesBatch byte.
    	var flushed bool
    	w, flushed = w.ensure(1 + maxBytes)
    	if flushed {
    		// Annotate the batch as containing types.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_tensor_helper.h

    // allowed to have one mismatching dimension. Masking one of the dimensions is
    // useful for ops like Concat that requires all ranked inputs to have the same
    // rank and match dimension sizes for all but one of the dimensions.
    LogicalResult VerifyTypesCompatibility(Operation::operand_type_range types,
                                           bool mask_one_dim, Operation *op);
    
    }  // namespace TF
    }  // namespace mlir
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow_to_stablehlo/tf_to_stablehlo_translate.cc

        "input-arg-shapes",
        llvm::cl::desc(
            "A string representation of input argument shapes for 'main' "
            "entry-point, separating tensors with ':', dimension with ',', and "
            "using '?' for unknown sizes. For example, 'input-arg-shapes=1,2::1,?' "
            "expresses argument shapes [1,2], [] and [1,?]"),
        llvm::cl::Optional, llvm::cl::init(""));
    
    // NOLINTNEXTLINE
    opt<std::string> exported_model_signatures(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.cc

              device, getResults()[index], resource_handle_id_map, next_id));
        }
      }
      return resource_vec;
    }
    
    LogicalResult _TfrtGetResourceOp::verify() {
      _TfrtGetResourceOp get_resource_op = *this;
      // The sizes of indices, shared_name and container must be equal.
      int32_t indices_size =
          get_resource_op->getAttrOfType<mlir::ArrayAttr>("indices").size();
      int32_t shared_name_size =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/analysis.go

    	Pkg          *types.Package // type information about the package
    	TypesInfo    *types.Info    // type information about the syntax trees
    	TypesSizes   types.Sizes    // function for computing sizes of types
    	TypeErrors   []types.Error  // type errors (only if Analyzer.RunDespiteErrors)
    
    	// Report reports a Diagnostic, a finding about a specific location
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. internal/http/dial_linux.go

    			// This is a sensitive configuration, it is better to set it to high values, > 60 secs since it can
    			// affect clients reading data with a very slow pace  (disappropriate with socket buffer sizes)
    			if opts.UserTimeout > 0 {
    				_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, unix.TCP_USER_TIMEOUT, opts.UserTimeout)
    			}
    
    			if opts.Interface != "" {
    				if h, _, err := net.SplitHostPort(address); err == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/internal/types/testdata/spec/range_int.go

    // This is a subset of the tests in range.go for range over integers,
    // with extra tests, and without the need for -goexperiment=range.
    
    package p
    
    // test framework assumes 64-bit int/uint sizes by default
    const (
    	maxInt  = 1<<63 - 1
    	maxUint = 1<<64 - 1
    )
    
    type MyInt int32
    
    func _() {
    	for range -1 {
    	}
    	for range 0 {
    	}
    	for range 1 {
    	}
    	for range uint8(1) {
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:56:00 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. tests/binary/binaries_test.go

    		}
    
    		for _, denylist := range denylistedFlags {
    			if strings.Contains(string(out), denylist) {
    				t.Fatalf("binary contains unexpected flags: %v", string(out))
    			}
    		}
    	})
    }
    
    // Test that binary sizes do not bloat
    func TestBinarySizes(t *testing.T) {
    	cases := map[string]struct {
    		minMb int64
    		maxMb int64
    	}{
    		// TODO: shrink the ranges here once the active work to reduce binary size is complete
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top