Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 106 for Decomposes (0.15 sec)

  1. tensorflow/compiler/mlir/tfr/tests/rewrite_quantized_io.mlir

    // RUN: tfr-opt %s -tfr-decompose -tfr-rewrite-quantized-io -verify-diagnostics | FileCheck %s
    
    // CHECK-LABEL: @tf__my_requantize
    tfr.func @tf__my_requantize(%input: !tfr.tensor) -> !tfr.tensor {
      %raw_data = tfr.quant_raw_data(%input) : (!tfr.tensor) -> !tfr.tensor
      %scale, %zp = tfr.quant_qparam(%input) : (!tfr.tensor) -> (!tfr.tensor, !tfr.tensor)
      %result = tfr.call @tf__requantize(%raw_data, %scale, %zp) : (!tfr.tensor, !tfr.tensor, !tfr.tensor) -> !tfr.tensor
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/resources/decomposition_lib.mlir

    tfr.func @tf__my_biased_dense_(!tfr.tensor<T>, !tfr.tensor<T>, !tfr.tensor<T>,
        !tfr.attr{tfr.name="act", tfr.default=""}) -> !tfr.tensor attributes {T}
    
    // This is a wong decomposition and used to verify that tf.Elu isn't decomposed
    // since its kernel has been registered.
    tfr.func @tf__elu_(%input: !tfr.tensor) -> !tfr.tensor {
      tfr.return %input : !tfr.tensor
    }
    
    // Translated from:
    //
    // REGISTER_OP("Add")
    //     .Input("x: T")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/saved_model/public/concrete_function.h

    #ifdef __cplusplus
    extern "C" {
    #endif  // __cplusplus
    
    // An opaque type that corresponds to a Function loaded from a SavedModel.
    // TODO(bmzhao): Work together w/srbs@ to make sure this composes w/the
    // C++ Unified Eager/Graph API's AbstractFunction
    typedef struct TF_ConcreteFunction TF_ConcreteFunction;
    
    // Returns FunctionMetadata associated with `func`. Metadata's lifetime is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 27 06:55:27 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/tests/control_flow.mlir

    // RUN: tfr-opt %s -tfr-decompose -verify-diagnostics -split-input-file | FileCheck %s
    
    tfr.func @tf__my_pack(%values: !tfr.tensor_list,
                          %n: i32 {tfr.name="N"},
                          %axis: i32 {tfr.name="axis"}) -> !tfr.tensor {
      %index = arith.constant 0 : index
      %cst = arith.constant 1 : i32
      %eq = arith.cmpi eq, %n, %cst : i32
      %v1 = tfr.get_element %values[%index] : (!tfr.tensor_list, index) -> !tfr.tensor
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 10:58:25 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/output/output.go

    }
    
    // PrintFlags composes common printer flag structs
    // used across kubeadm commands, and provides a method
    // of retrieving a known printer based on flag values provided.
    type PrintFlags struct {
    	// JSONYamlPrintFlags provides default flags necessary for json/yaml printing.
    	JSONYamlPrintFlags *genericclioptions.JSONYamlPrintFlags
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 08:22:45 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/encoding/Identifier.java

        }
    
        public static Identifier getNonAscii() {
            if (OperatingSystem.current().isMacOsX()) {
                // The hfs+ file system stores file names in decomposed form. Don't use precomposed characters on macOS, as way too few things normalise text correctly
                return new Identifier(NON_PRECOMPOSED_NON_ASCII, "non-ascii");
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. src/database/sql/driver/types_test.go

    				i, tt.c, tt.in, tt.in, out, out, tt.out, tt.out)
    		}
    	}
    }
    
    type dec struct {
    	form        byte
    	neg         bool
    	coefficient [16]byte
    	exponent    int32
    }
    
    func (d dec) Decompose(buf []byte) (form byte, negative bool, coefficient []byte, exponent int32) {
    	coef := make([]byte, 16)
    	copy(coef, d.coefficient[:])
    	return d.form, d.neg, coef, d.exponent
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:53:24 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/legacy.go

    	// kubelet.containerLogsDir.
    	legacyContainerLogsDir = "/var/log/containers"
    	// legacyLogSuffix is the legacy log suffix.
    	legacyLogSuffix = "log"
    
    	ext4MaxFileNameLen = 255
    )
    
    // legacyLogSymlink composes the legacy container log path. It is only used for legacy cluster
    // logging support.
    func legacyLogSymlink(containerID string, containerName, podName, podNamespace string) string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 16:05:48 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/passes/rewrite_quantized_io.cc

                                                     terminator->getOperandTypes());
        func.setType(new_func_type);
      });
    }
    
    // Creates an instance of the pass to decompose the TF ops.
    std::unique_ptr<OperationPass<ModuleOp>> CreateRewriteQuantizedIOPass() {
      return std::make_unique<RewriteQuantizedIOPass>();
    }
    
    static PassRegistration<RewriteQuantizedIOPass> pass([] {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/decompose_optionals.mlir

    // RUN: tf-opt %s --tf-decompose-optionals --split-input-file | FileCheck %s
    
    // CHECK-LABEL: @from_value
    func.func @from_value(%arg0: tensor<f32>) {
      // CHECK-NOT: Optional
      %0 = "tf.OptionalFromValue"(%arg0) : (tensor<f32>) -> tensor<!tf_type.variant<tensor<f32>>>
      return
    }
    
    // -----
    
    // CHECK-LABEL: @get_value
    func.func @get_value(%arg0: tensor<!tf_type.variant<tensor<f32>>>) {
      // CHECK-NOT: Optional
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top