Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 633 for Reserve (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/lift_variables.cc

      if (!session) return module.emitOpError() << "no session provided";
    
      // Read all resource variables from the session.
      std::vector<std::string> variable_names;
      variable_names.reserve(resource_names.size());
      for (StringRef name : resource_names) variable_names.push_back(name.str());
    
      std::vector<Tensor> resource_tensors;
      Status status = session->Run(
          /*inputs=*/{}, variable_names,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter.cc

                                                       &hardware_map);
    
      // Populate the runtime metadata.
      std::vector<flatbuffers::Offset<SubgraphMetadata>> subgraphs_metadata;
      subgraphs_metadata.reserve(funcs.size());
      for (auto& func : funcs) {
        subgraphs_metadata.push_back(
            CreateSubgraphMetadata(hardware_map, &func.getBody(), &fb_builder));
      }
      auto runtime_metadata =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. src/net/dnsclient.go

    	}
    
    	// See RFC 1035, RFC 3696.
    	// Presentation format has dots before every label except the first, and the
    	// terminal empty label is optional here because we assume fully-qualified
    	// (absolute) input. We must therefore reserve space for the first and last
    	// labels' length octets in wire format, where they are necessary and the
    	// maximum total length is 255.
    	// So our _effective_ maximum is 253, but 254 is not rejected if the last
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/utils/perception_ops_utils.cc

      if (array_attr == nullptr || array_attr.size() != N) {
        return func->emitError()
               << "'" << attr_name << "' attribute for " << kMaxUnpooling
               << " must be set and has size of " << N;
      }
      results->reserve(N);
    
      for (Attribute integer_attr : array_attr.getValue()) {
        IntegerAttr value = mlir::dyn_cast<IntegerAttr>(integer_attr);
        if (!value) {
          return func->emitError()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. src/internal/types/testdata/fixedbugs/issue67547.go

    // Copyright 2024 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.
    
    package p
    
    func _[P int]() {
    	type A = P
    	_ = A(0) // don't crash with this conversion
    }
    
    func _[P []int]() {
    	type A = P
    	_ = make(A, 10) // don't report an error for A
    }
    
    func _[P string]() {
    	var t []byte
    	type A = P
    	var s A
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/runtime/proflabel.go

    // Copyright 2017 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.
    
    package runtime
    
    import "unsafe"
    
    var labelSync uintptr
    
    // runtime_setProfLabel should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/cloudwego/localsession
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow_to_stablehlo/python/pywrap_tensorflow_to_stablehlo.cc

    /* Copyright 2024 The TensorFlow Authors. All Rights Reserved.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. src/runtime/debug/example_monitor_test.go

    // Copyright 2023 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.
    
    package debug_test
    
    import (
    	"io"
    	"log"
    	"os"
    	"os/exec"
    	"runtime/debug"
    )
    
    // ExampleSetCrashOutput_monitor shows an example of using
    // [debug.SetCrashOutput] to direct crashes to a "monitor" process,
    // for automated crash reporting. The monitor is the same executable,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/schema/schema_conversion_utils.cc

    /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/component.h

    /* Copyright 2024 The TensorFlow Authors. All Rights Reserved.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top