Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 106 for Decomposes (0.26 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/testinggoroutine/testinggoroutine.go

    	return &asyncCall{region: call, async: call, scope: fun, fun: fun}
    }
    
    var forbidden = []string{
    	"FailNow",
    	"Fatal",
    	"Fatalf",
    	"Skip",
    	"Skipf",
    	"SkipNow",
    }
    
    // forbiddenMethod decomposes a call x.m() into (x, x.m, m) where
    // x is a variable, x.m is a selection, and m is the static callee m.
    // Returns (nil, nil, nil) if call is not of this form.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.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. tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc

      for (int i = state_size + 1; i < body_args.size(); ++i) {
        body_returns.push_back(body_args[i]);
      }
      builder.create<TF::YieldOp>(loc,
                                  /*operands=*/body_returns);
    }
    
    // Decomposes any ReduceDatasetOps in `function` into a dataset iteration and a
    // call to the reduce function in the ReduceDatasetOp.
    LogicalResult DecomposeReduceDatasetInFunction(FuncOp function) {
      if (!llvm::hasSingleElement(function))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    	if x != 0 {
    		utf8.EncodeRune(buf[2*JamoUTF8Len:], jamoTBase+x)
    		return 3 * JamoUTF8Len
    	}
    	return 2 * JamoUTF8Len
    }
    
    // decomposeHangul algorithmically decomposes a Hangul rune into
    // its Jamo components.
    // See https://unicode.org/reports/tr15/#Hangul for details on decomposing Hangul.
    func (rb *reorderBuffer) decomposeHangul(r rune) {
    	r -= hangulBase
    	x := r % jamoTCount
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. 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)
  6. src/vendor/golang.org/x/text/unicode/norm/composition.go

    	if x != 0 {
    		utf8.EncodeRune(buf[2*JamoUTF8Len:], jamoTBase+x)
    		return 3 * JamoUTF8Len
    	}
    	return 2 * JamoUTF8Len
    }
    
    // decomposeHangul algorithmically decomposes a Hangul rune into
    // its Jamo components.
    // See https://unicode.org/reports/tr15/#Hangul for details on decomposing Hangul.
    func (rb *reorderBuffer) decomposeHangul(r rune) {
    	r -= hangulBase
    	x := r % jamoTCount
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 14.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. tensorflow/compiler/mlir/tfr/passes/decompose.cc

      explicit DecomposeTFOpsPass(std::optional<ModuleOp> external_tfr_module)
          : external_tfr_module_(external_tfr_module) {}
    
      StringRef getArgument() const final { return "tfr-decompose"; }
    
      StringRef getDescription() const final {
        return "Decompose TF ops with the registered composition library.";
      }
    
      void runOnOperation() override;
    
     private:
      // Apply canonicalization, mainly constant folding, on the function.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

            if optional:
              return (None, None)
            else:
              raise KeyError('OpDef does not exist: ' + f_name)
          elif len(compose_dec) > 1:
            raise KeyError('More than one TF ops decomposes for.')
          else:
            op_name = compose_dec[0].args[0].value
    
        op_def = op_def_registry.get(op_name)
        if not op_def:
          raise ValueError('Not a registered op: ' + op_name)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
Back to top