Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 319 for legality (0.14 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_func_to_bfloat16.cc

     public:
      BFloat16TypeConverter() {
        addConversion([](const Type type) -> Type {
          return IsLargeFloatType(type) ? ToBfloat16Type(type) : type;
        });
      }
    };
    
    // This helper function makes legality check easier. Both convert ops in the
    // patterns below are considered legal:
    //  - `BitcastConvertOp` (i32 -> f32) + `ConvertOp` (f32 -> bf16)
    //  - `ConvertOp` (bf16 -> f32) -> `BitcastConvertOp` (f32 -> i32)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf.cc

    auto *mlir_failed_legalization_count = tensorflow::monitoring::Counter<2>::New(
        "/tensorflow/core/tf2xla/v1/mlir_failed_xla_legalize_tf_pass_count",
        "Counts the failure of legalization of ops", "op_name", "legality");
    
    class LegalizeTF : public impl::LegalizeTFBase<LegalizeTF> {
     public:
      explicit LegalizeTF(bool legalize_chlo,
                          std::optional<StringRef> tf2xla_fallback_device_type,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc

      // attached to a TF Device operation.
      bool isLegalToInline(Region* dest, Region* src, bool wouldBeCloned,
                           IRMapping& valueMapping) const final {
        return true;
      }
    
      // Defines the legality of inlining TF Device operations into a region.
      bool isLegalToInline(Operation* call, Region*, bool, IRMapping&) const final {
        return true;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  4. pkg/test/loadbalancersim/locality/locality.go

    //  limitations under the License.
    
    package locality
    
    import (
    	"fmt"
    	"strings"
    )
    
    type Instance struct {
    	Zone   string
    	Region string
    }
    
    func (l Instance) String() string {
    	return fmt.Sprintf("%s/%s", l.Region, l.Zone)
    }
    
    func Parse(s string) Instance {
    	parts := strings.Split(s, "/")
    	if len(parts) != 2 {
    		panic("invalid locality string: " + s)
    	}
    	return Instance{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 27 20:55:37 UTC 2022
    - 979 bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/mark_for_compilation_pass.cc

            //  b. A and B cannot be placed in the same cluster.
            //  c. There is no path from B to A in the cycles graph (but there may
            //     be a path from A to B).
            //
            // So check the legality of the edge contraction by checking if any of
            // the n^2 pairs of resource variable operations are forbidden.
            if (unsafe_resource_deps_.contains(
                    {resource_var_from, resource_var_to})) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  6. tests/testdata/config/destination-rule-locality.yaml

    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: locality
      namespace: default
    spec:
      host: locality.cluster.local
      trafficPolicy:
        outlierDetection:
          interval: 1s
          baseEjectionTime: 3m
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 26 15:06:45 UTC 2020
    - 263 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/legalize-tf-while.mlir

    // RUN: tf-opt --tfl-legalize-tf-while %s -o - | FileCheck %s
    // RUN: tf-opt --tfl-legalize-tf-while %s -o - --tfl-legalize-tf-while --inline='default-pipeline=''' | FileCheck %s --check-prefix=INLINE
    // RUN: tf-opt --tfl-legalize-tf-while %s -o - --tfl-legalize-tf-while --inline | FileCheck %s --check-prefix=CANON
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. releasenotes/notes/locality-lb-docs.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: documentation
    releaseNotes:
      - |
        **Added** The locality load balancing docs have been re-written into a
        formal traffic management task. The new docs describe in more detail
        how locality load balancing works as well as how to configure both
        failover and weighted distribution. In addition, the new docs are now
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 15 22:52:39 UTC 2020
    - 420 bytes
    - Viewed (0)
  9. releasenotes/notes/locality-service.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: traffic-management
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 07 21:53:05 UTC 2023
    - 218 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/legalize-tf-variables.mlir

    // RUN: tf-opt %s -split-input-file -tfl-legalize-variables-tf --cse | FileCheck %s
    
    // Test for case with no session initialize op.
    module attributes {tf_saved_model.semantics} {
      // CHECK-LABEL: serving_default
      func.func @serving_default(%arg0: tensor<1x10xf32> {tf_saved_model.index_path = ["x"]}) ->
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top