Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 66 for dictionary (0.15 sec)

  1. src/compress/zlib/writer.go

    func NewWriterLevel(w io.Writer, level int) (*Writer, error) {
    	return NewWriterLevelDict(w, level, nil)
    }
    
    // NewWriterLevelDict is like NewWriterLevel but specifies a dictionary to
    // compress with.
    //
    // The dictionary may be nil. If not, its contents should not be modified until
    // the Writer is closed.
    func NewWriterLevelDict(w io.Writer, level int, dict []byte) (*Writer, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 27 18:51:27 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. src/compress/zlib/reader.go

    func NewReader(r io.Reader) (io.ReadCloser, error) {
    	return NewReaderDict(r, nil)
    }
    
    // NewReaderDict is like [NewReader] but uses a preset dictionary.
    // NewReaderDict ignores the dictionary if the compressed data does not refer to it.
    // If the compressed data refers to a different dictionary, NewReaderDict returns [ErrDictionary].
    //
    // The ReadCloser returned by NewReaderDict also implements [Resetter].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. tensorflow/cc/experimental/libtf/module.cc

      if (identifier == "trackable_dict_wrapper") {
        tf::libtf::Dictionary user_dict;
        // TODO(b/191267013): Populate with values.
        return user_dict;
      }
      if (identifier == "signature_map") {
        tf::libtf::Dictionary signature_map;
        // TODO(b/191267013): Populate with values.
        return signature_map;
      }
      if (identifier == "_generic_user_object") {
        tf::libtf::Dictionary user_object;
        // TODO(b/191267013): Populate with values.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 02 20:02:30 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/stablehlo_custom_call.cc

      if (config == nullptr) {
        op.emitOpError() << "does not have dictionary attribute '"
                         << kTfBackendConfigAttrName << "'";
        return failure();
      }
    
      auto f = config.get(kCalledFuncAttrName);
      if (f == nullptr) {
        op.emitOpError() << "does not have attribute '" << kCalledFuncAttrName
                         << "' in its dictionary attribute '"
                         << kTfBackendConfigAttrName << "'";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/device_util.cc

      }
    
      return mlir::success();
    }
    
    // Get devices from a dictionary attribute.
    mlir::LogicalResult GetDevicesFromOp(mlir::Operation* op,
                                         mlir::DictionaryAttr dict_attr,
                                         mlir::TF::RuntimeDevices* devices) {
      DeviceNameUtils::ParsedName device;
    
      // Parse device names and metadata from dictionary attribute.
      for (auto& kv : dict_attr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/metadata.md

    ```
    
    ## Metadata for tags
    
    You can also add additional metadata for the different tags used to group your path operations with the parameter `openapi_tags`.
    
    It takes a list containing one dictionary for each tag.
    
    Each dictionary can contain:
    
    * `name` (**required**): a `str` with the same tag name you use in the `tags` parameter in your *path operations* and `APIRouter`s.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Mar 31 23:52:53 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiTokenizerFactory.java

            String[] values = CSVUtil.parse(rule);
            if (dup.add(values[0]) == false) {
                throw new IllegalArgumentException("Found duplicate term [" + values[0] + "] in user dictionary.");
            }
            return rule;
        }
    
        public static UserDictionary getUserDictionary(Environment env, Settings settings) {
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. src/compress/zlib/reader_test.go

    		},
    		nil,
    		nil,
    	},
    	{
    		"dictionary",
    		"Hello, World!\n",
    		[]byte{
    			0x78, 0xbb, 0x1c, 0x32, 0x04, 0x27, 0xf3, 0x00,
    			0xb1, 0x75, 0x20, 0x1c, 0x45, 0x2e, 0x00, 0x24,
    			0x12, 0x04, 0x74,
    		},
    		[]byte{
    			0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x20, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x0a,
    		},
    		nil,
    	},
    	{
    		"wrong dictionary",
    		"",
    		[]byte{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 02:16:17 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  9. test/typeparam/subdict.go

    // run
    
    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test cases where a main dictionary is needed inside a generic function/method, because
    // we are calling a method on a fully-instantiated type or a fully-instantiated function.
    // (probably not common situations, of course)
    
    package main
    
    import (
    	"fmt"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 842 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/stablehlo_custom_call.h

    namespace TF {
    
    // Returns whether the custom call op represents a TF function call.
    bool IsTfFuncCustomCall(stablehlo::CustomCallOp op);
    
    // Returns the `called_func` symbol ref attribute in the `tf.backend_config`
    // dictionary attribute.
    //
    // If the op does not represent a TF function call, returns nullptr.
    // Otherwise, if the op does not have `caller_name`, returns failure.
    FailureOr<SymbolRefAttr> GetTfFuncCustomCallFuncName(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 26 03:48:35 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top