Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 594 for costs (0.04 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/transforms/cost_model.cc

      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(GetOpCostPass)
    
      llvm::StringRef getArgument() const final { return "tfl-get-op-cost"; }
      llvm::StringRef getDescription() const final {
        return "Get cost for every op";
      }
      void runOnOperation() override;
    };
    
    void GetOpCostPass::runOnOperation() {
      auto func = getOperation();
      OpBuilder builder(func);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter.cc

        auto cost_attr = device_costs_attr.getNamed(kv.first);
        if (!cost_attr.has_value()) return std::nullopt;
        float cost = mlir::dyn_cast_or_null<mlir::FloatAttr>(cost_attr->getValue())
                         .getValueAsDouble();
        device_costs[kv.second] = cost;
      }
      return device_costs;
    }
    
    flatbuffers::Offset<SubgraphMetadata> CreateSubgraphMetadata(
    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. pkg/kube/kubetypes/types.go

    	// This is a *client side* filter. This means CPU/memory costs are still present for filtered objects.
    	// Use LabelSelector or FieldSelector instead, if possible.
    	ObjectFilter DynamicObjectFilter
    	// ObjectTransform allows arbitrarily modifying objects stored in the underlying cache.
    	// If unset, a default transform is provided to remove ManagedFields (high cost, low value)
    	ObjectTransform func(obj any) (any, error)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * could in principle cause problems for some users. Still, we expect that the benefits of the
     * nullness annotations in particular will outweigh the costs. (And it's worth noting that we have
     * released multiple ListenableFuture.class files that are not byte-for-byte compatible even from
     * the beginning, thanks to using different `-source -target` values for compiling our `-jre` and
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 8K bytes
    - Viewed (0)
  5. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * could in principle cause problems for some users. Still, we expect that the benefits of the
     * nullness annotations in particular will outweigh the costs. (And it's worth noting that we have
     * released multiple ListenableFuture.class files that are not byte-for-byte compatible even from
     * the beginning, thanks to using different `-source -target` values for compiling our `-jre` and
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * could in principle cause problems for some users. Still, we expect that the benefits of the
     * nullness annotations in particular will outweigh the costs. (And it's worth noting that we have
     * released multiple ListenableFuture.class files that are not byte-for-byte compatible even from
     * the beginning, thanks to using different `-source -target` values for compiling our `-jre` and
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. docs/bucket/lifecycle/README.md

    clusters via the ILM transition feature. This will allow transitioning of older objects to a different cluster or the public cloud by setting up transition rules in the bucket lifecycle configuration. This feature enables applications to optimize storage costs by moving less frequently accessed data to a cheaper storage without compromising accessibility of data.
    
    To transition objects in a bucket to a destination bucket on a different cluster, applications need to specify a transition tier defined...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Aug 26 07:33:25 UTC 2023
    - 9K bytes
    - Viewed (0)
  8. src/net/hosts.go

    			}
    		}
    	}
    	// Update the data cache.
    	hosts.expire = now.Add(cacheMaxAge)
    	hosts.path = hp
    	hosts.byName = hs
    	hosts.byAddr = is
    	hosts.mtime = mtime
    	hosts.size = size
    }
    
    // lookupStaticHost looks up the addresses and the canonical name for the given host from /etc/hosts.
    func lookupStaticHost(host string) ([]string, string) {
    	hosts.Lock()
    	defer hosts.Unlock()
    	readHosts()
    	if len(hosts.byName) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 07:21:38 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/experimental/tac/common/cost.h

    namespace mlir {
    namespace TFL {
    namespace tac {
    
    // Cost attribute string on the TFL dialect.
    constexpr char kCost[] = "tac.cost";
    
    inline void UpdateCost(Operation* op, float cost, OpBuilder* builder) {
      op->setAttr(kCost, builder->getF32FloatAttr(cost));
    }
    
    // Get the cost annotated with kCost.
    inline bool GetCostOnOp(Operation* op, float* cost) {
      auto cost_type = op->getAttrOfType<FloatAttr>(kCost);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 21 01:22:53 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/experimental/tac/tests/get-op-cost.mlir

    // RUN: tac-opt-all-backends -tfl-get-op-cost %s -split-input-file -verify-diagnostics | FileCheck %s
    
    func.func @func_0_CPU(%arg0: tensor<256x32x32x3xf32>, %arg1: tensor<256x32x32x3xf32>) -> tensor<256x32x32x3xf32> attributes {tac.device = "CPU", tac.interface_name = "func_0"} {
      // CHECK: tac.cost = 7.864320e+05
      %0 = "tfl.add"(%arg0, %arg1) {fused_activation_function = "RELU", tac.device = "CPU"} : (tensor<256x32x32x3xf32>, tensor<256x32x32x3xf32>) -> tensor<256x32x32x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:29:10 UTC 2022
    - 5.7K bytes
    - Viewed (0)
Back to top