Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Decomposes (0.28 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    std::unique_ptr<OperationPass<ModuleOp>> CreateConvertLaunchFuncToTFCallPass();
    
    // A pass that decomposes composite resource operations into primitive ones like
    // ReadVariableOp, AssignVariableOp and other computations to facilitate
    // transformations like resource op lifting.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateDecomposeResourceOpsPass();
    
    // A pass that decomposes composite resource operations in device cluster
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h

    // canonicalization.
    //
    // Operations in tf dialect are lowered to XLA HLO through the following steps:
    //   . Legalizes control flow operations.
    //   . Decomposes compound resource operations so that the only remaining
    //     operations on resource variables are resource reads/writes..
    //   . Replaces resource reads/writes with function inputs/outputs and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. src/database/sql/convert.go

    	if rv := reflect.ValueOf(vr); rv.Kind() == reflect.Pointer &&
    		rv.IsNil() &&
    		rv.Type().Elem().Implements(valuerReflectType) {
    		return nil, nil
    	}
    	return vr.Value()
    }
    
    // decimal composes or decomposes a decimal value to and from individual parts.
    // There are four parts: a boolean negative flag, a form byte with three possible states
    // (finite=0, infinite=1, NaN=2), a base-2 big-endian integer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

      // The conversion pipeline has to follow the following orders:
      // 1) Saved model related optimization like decompose resource ops
      // 2) Convert composite functions like lstm/rnns, along with proper function
      // inlining & dce.
      // 3) Lower static tensor list pass.
    
      // This decomposes resource ops like ResourceGather into read-variable op
      // followed by gather. This is used when the saved model import path is used
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

            }
            return %0 : tensor<i32>
          }
        ```
      }];
    }
    
    def DecomposeReduceDatasetPass : Pass<"tf-decompose-reduce-dataset", "mlir::func::FuncOp"> {
      let summary = "Decomposes ReduceDataset op into dataset operations.";
    
      let description = [{
        Decomposes ReduceDataset op into a while loop that iterates the dataset and calls
        into the reduction function.  This decomposition is only done if the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  6. src/runtime/mgc.go

    // non-generational and non-compacting. Allocation is done using size segregated per P allocation
    // areas to minimize fragmentation while eliminating locks in the common case.
    //
    // The algorithm decomposes into several steps.
    // This is a high level description of the algorithm being used. For an overview of GC a good
    // place to start is Richard Jones' gchandbook.org.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/decompose_resource_ops.mlir

    // RUN: tf-opt %s -tf-device-decompose-resource-ops | FileCheck -check-prefixes=CHECK,ALWAYS-DECOMPOSE %s
    // RUN: tf-opt %s -tf-device-decompose-resource-ops-in-cluster | FileCheck -check-prefixes=CHECK,CLUSTER-ONLY %s
    
    // Tests different behavior of two passes if the op is outside cluster
    // tf-device-decompose-resource-ops would always decompose the resource op.
    // tf-device-decompose-resource-ops-in-cluster would not decompose ops outside
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td

          ),
          (TF_AssignVariableOp $accum_resource, $new_accum, (CreateConstBoolAttrFalse)),
        ]
      >;
    
    // ResourceApplyAdagrad op can be canonicalized to ResourceApplyAdagradV2 with
    // zero epsilon and then decomposed using DecomposeResourceApplyAdagradV2
    // pattern.
    def DecomposeResourceApplyAdagrad :
      Pattern<
        (TF_ResourceApplyAdagradOp $var_resource, $accum_resource, $lr, $grad,
           $use_locking, $update_slots),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/decompose_resource_op.mlir

    // RUN: tf-tfrt-opt -tf-executor-to-tfrt-pipeline=decompose-resource-ops=true %s | FileCheck %s --dump-input=fail
    
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 12 : i32, producer = 293 : i32}} {
    
    // CHECK-LABEL: func @gather
    // CHECK-SAME: ([[in_chain:%.*]]: !tfrt.chain
    // CHECK-SAME: [[arg0:%.*]]: !tfrt_fallback.tf_tensor, [[arg1:%.*]]: !tfrt_fallback.tf_tensor)
    // CHECK: [[const:%.*]] = tfrt_fallback_async.const_dense_tensor
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 00:40:32 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/ops/gen/common/path_config.cc

                           const std::vector<string> op_names)
        : output_path(output_dir), op_names(op_names) {
      api_dirs = str_util::Split(api_dir_list, ",", str_util::SkipEmpty());
    
      // Decompose the directory components given the output/source directories.
      //
      // Be flexible; accept any path string with a "tensorflow" directory name.
      // (It's hard to construct a location-agnostic include path string using the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top