Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 141 for legality (0.35 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-stablehlo-vhlo.mlir

    // RUN: odml-to-stablehlo-opt %s --stablehlo-legalize-vhlo -split-input-file | FileCheck %s
    // RUN: odml-to-stablehlo-opt --stablehlo-legalize-vhlo %s | odml-to-stablehlo-opt --vhlo-legalize-stablehlo > %t.0
    // RUN: odml-to-stablehlo-opt %s > %t.1
    // RUN: diff %t.0 %t.1
    
    // CHECK-LABEL: op_tfl
    func.func @op_tfl(%arg0 : tensor<f32>) -> (tensor<f32>) {
      // CHECK: %0 = tfl.add %arg0, %arg0 {fused_activation_function = "NONE"} : tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 07 22:39:35 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/legalize-tf-assert.mlir

    // RUN: tf-opt %s -tfl-legalize-tf='preserve-assert-op=true' | FileCheck %s --dump-input=fail
    
    func.func @preserve_assert(%arg0: tensor<1xi32>, %arg1: tensor<1xi32>) -> tensor<1xi1> {
      %0 = "tf.LessEqual"(%arg0, %arg1) : (tensor<1xi32>, tensor<1xi32>) -> tensor<1xi1>
      "tf.Assert"(%0, %arg1) {summarize = 3} : (tensor<1xi1>, tensor<1xi32>) -> ()
      func.return %0 : tensor<1xi1>
      // CHECK-LABEL: preserve_assert
      // CHECK: tfl.less_equal
      // CHECK: Assert
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 14:24:59 UTC 2022
    - 481 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-include-tf2xla-fallback.mlir

    // RUN: tf-opt "-xla-legalize-tf=use-tf2xla-fallback=true" %s | FileCheck --check-prefix UNSPECIFIED_FALLBACK_DEVICE %s
    // RUN: tf-opt "-xla-legalize-tf=use-tf2xla-fallback=true device-type=INVALID_DEVICE_TYPE" %s | FileCheck --check-prefix UNSUPPORTED_FALLBACK_DEVICE %s
    
    // We run this test four times:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 16 19:04:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top