Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 202 for cc_ops (0.55 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

      @parameterized.parameters(
          testing.parameter_combinations([{
              'bias_fn': (
                  None,
                  nn_ops.bias_add,
              ),
              'activation_fn': (
                  None,
                  nn_ops.relu,
                  nn_ops.relu6,
              ),
              'dim_sizes': (
                  # tf.MatMul cases.
                  ([None, 1024], [1024, 3]),  # dynamic batch dim.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  2. tensorflow/c/kernels_experimental.cc

        const Tensor& cc_b, Tensor* cc_out,
        void (*binary_add_func)(TF_OpKernelContext* ctx, TF_Tensor* a, TF_Tensor* b,
                                TF_Tensor* out)) {
      if (cc_a.dtype() == ::tensorflow::DT_INVALID) {
        *cc_out = cc_b;
        return absl::OkStatus();
      }
      if (cc_b.dtype() == ::tensorflow::DT_INVALID) {
        *cc_out = cc_a;
        return absl::OkStatus();
      }
    
      Status status;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/BUILD

    )
    
    exports_files([
        "ir/tf_generated_ops.td",
        "ir/tf_op_base.td",
        "ir/tf_op_interfaces.td",
        "ir/tf_ops.td",
    ])
    
    td_library(
        name = "tensorflow_ops_td_files",
        srcs = [
            "ir/tf_generated_ops.td",
            "ir/tf_op_base.td",
            "ir/tf_op_interfaces.td",
            "ir/tf_ops.td",
        ],
        compatible_with = get_compatible_with_portable(),
        deps = [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

            mean, variance = scale, offset
            out = nn_ops.conv2d(
                input_tensor,
                self.filters,
                strides=strides,
                dilations=dilations,
                padding=padding,
                data_format='NHWC',
                name='sample/conv',
            )
            if bias_fn is not None:
              out = nn_ops.bias_add(out, self.bias)
            if has_batch_norm:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tf_data_optimization.td

    limitations under the License.
    ==============================================================================*/
    
    include "mlir/IR/OpBase.td"
    include "mlir/IR/PatternBase.td"
    include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td"
    
    // TODO(jpienaar): Move this somewhere general.
    class GetI64ScalarElementsAttr<int value> :
      NativeCodeCall<"DenseElementsAttr::get<int64_t>(RankedTensorType::get({}, $_builder.getIntegerType(64)), " # value # ")">;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/xla_call_module_to_call.cc

    #include "tensorflow/compiler/mlir/lite/transforms/passes.h"
    #include "tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    
    namespace mlir::quant::stablehlo {
    
    #define GEN_PASS_DEF_XLACALLMODULETOCALLPASS
    #include "tensorflow/compiler/mlir/quantization/stablehlo/passes/passes.h.inc"
    
    namespace {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 20:02:00 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.h

    #include "mlir/IR/Value.h"  // from @llvm-project
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    
    namespace mlir {
    namespace TF {
    
    class ResourceAnalyzer {
     public:
      explicit ResourceAnalyzer(ModuleOp module, bool skip_session_init = false);
    
      bool IsPotentiallyWritten(Value resource) const;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/passes/input_lowering_metrics_pass.cc

    #include "mlir/IR/Visitors.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    #include "mlir/Support/TypeID.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config.h"
    #include "tensorflow/core/lib/monitoring/counter.h"
    
    namespace tensorflow {
    namespace tf2xla {
    namespace internal {
    
    namespace {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 08:55:35 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/legalize_variables.cc

    #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
    #include "tensorflow/compiler/mlir/lite/transforms/passes.h"
    #include "tensorflow/compiler/mlir/lite/utils/variables_utils.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h"
    
    namespace mlir {
    namespace TFL {
    namespace {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    def LegalizeCast : Pat<(TF_CastOp $arg0, BoolAttr:$arg1), (TFL_CastOp $arg0)>;
    
    def LegalizeBatchToSpaceND : Pat<
      (TF_BatchToSpaceNDOp $input, $block_shape, $crops),
      (TFL_BatchToSpaceNdOp $input, (CreateTFCastToInt32Op $block_shape),
         (CreateTFCastToInt32Op $crops))>;
    
    def LegalizeSpaceToBatchND : Pat<
      (TF_SpaceToBatchNDOp $input, $block_shape, $paddings),
      (TFL_SpaceToBatchNdOp $input, (CreateTFCastToInt32Op $block_shape),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top