Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for zeros_like (0.35 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tensor_list_ops_decomposition.mlir

      // CHECK-NEXT: %[[ZEROS_LIKE:.*]] = "tf.ZerosLike"(%[[ADDN]]) : (tensor<10xf32>) -> tensor<10xf32>
      %zeros-like = "tf.ZerosLike"(%addn) : (tensor<!tf_type.variant<tensor<f32>>>) -> tensor<!tf_type.variant<tensor<f32>>>
      // CHECK-NEXT: %[[ADDN2:.*]] = "tf.AddN"(%[[ADDN]], %[[ZEROS_LIKE]]) : (tensor<10xf32>, tensor<10xf32>) -> tensor<10xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 38.6K bytes
    - Viewed (0)
  2. tensorflow/c/kernels_experimental.cc

      }
    
      const std::string type_index_name =
          ::tensorflow::port::MaybeAbiDemangle(input.TypeId().name());
    
      return ::tensorflow::errors::Internal(
          "No unary variant unary_op function found for op ZEROS_LIKE Variant "
          "type_name: ",
          type_index_name, " for device type: ", cc_ctx->device()->name());
    }
    
    void TF_ZerosLikeVariant(TF_OpKernelContext* ctx,
    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/lite/tests/flatbuffer2mlir/test_schema.fbs

      PACK = 83,
      LOGICAL_OR = 84,
      ONE_HOT = 85,
      LOGICAL_AND = 86,
      LOGICAL_NOT = 87,
      UNPACK = 88,
      REDUCE_MIN = 89,
      FLOOR_DIV = 90,
      REDUCE_ANY = 91,
      SQUARE = 92,
      ZEROS_LIKE = 93,
      FILL = 94,
      FLOOR_MOD = 95,
      RANGE = 96,
      RESIZE_NEAREST_NEIGHBOR = 97,
      LEAKY_RELU = 98,
      SQUARED_DIFFERENCE = 99,
      MIRROR_PAD = 100,
      ABS = 101,
      SPLIT_V = 102,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 19 19:46:06 UTC 2021
    - 26.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs

      PACK = 83,
      LOGICAL_OR = 84,
      ONE_HOT = 85,
      LOGICAL_AND = 86,
      LOGICAL_NOT = 87,
      UNPACK = 88,
      REDUCE_MIN = 89,
      FLOOR_DIV = 90,
      REDUCE_ANY = 91,
      SQUARE = 92,
      ZEROS_LIKE = 93,
      FILL = 94,
      FLOOR_MOD = 95,
      RANGE = 96,
      RESIZE_NEAREST_NEIGHBOR = 97,
      LEAKY_RELU = 98,
      SQUARED_DIFFERENCE = 99,
      MIRROR_PAD = 100,
      ABS = 101,
      SPLIT_V = 102,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 30K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/schema/schema.fbs

      PACK = 83,
      LOGICAL_OR = 84,
      ONE_HOT = 85,
      LOGICAL_AND = 86,
      LOGICAL_NOT = 87,
      UNPACK = 88,
      REDUCE_MIN = 89,
      FLOOR_DIV = 90,
      REDUCE_ANY = 91,
      SQUARE = 92,
      ZEROS_LIKE = 93,
      FILL = 94,
      FLOOR_MOD = 95,
      RANGE = 96,
      RESIZE_NEAREST_NEIGHBOR = 97,
      LEAKY_RELU = 98,
      SQUARED_DIFFERENCE = 99,
      MIRROR_PAD = 100,
      ABS = 101,
      SPLIT_V = 102,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  6. tensorflow/c/eager/tape.h

          // Note: Needs to be zeros rather than ones since there's currently no
          // ones_like for variants.
          aid = output_tensor.ZerosLike();
        } else {
          // TODO(allenl): Figure out why using zeros_like everywhere causes issues
          // for some gradient functions and if there's another way to work around
          // it (e.g. conds instead of ifs). The value shouldn't really matter.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 12:40:29 UTC 2024
    - 47.2K bytes
    - Viewed (0)
  7. tensorflow/c/eager/gradients.cc

    int64_t ToId(const AbstractTensorHandle* t) {
      return static_cast<int64_t>(reinterpret_cast<uintptr_t>(t));
    }
    
    Status ZerosLike(AbstractContext* ctx, AbstractTensorHandle* t,
                     AbstractTensorHandle** result) {
      AbstractOperationPtr op(ctx->CreateOperation());
      TF_RETURN_IF_ERROR(op->Reset("ZerosLike", /*raw_device_name=*/nullptr));
      if (isa<tracing::TracingOperation>(op.get())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. tensorflow/cc/framework/gradients.cc

          // 'NoGradient'. Therefore, we need to add 'ZerosLike' nodes for each
          // 'NoGradient' output before we call the gradient function for 'n'.
          // TODO(andydavis) If static shapes are known, replace 'ZerosLike' with
          // zero-filled Constant node of appropriate shape.
          for (const int dy_index : no_grad_dy_indices) {
            dy[dy_index] = ops::ZerosLike(scope_, Output(n, dy_index));
          }
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 22K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

           $min, $max, $bits, $narrow_range),
          (TF_FakeQuantWithMinMaxVarsOp $input,
             (TF_ConstOp $min), (TF_ConstOp $max), $bits, $narrow_range)>;
    
    // ZerosLike op patterns.
    //===----------------------------------------------------------------------===//
    
    
    class LowerInitializationOp<Op FromOp, int initial_val>
      : Pat<(FromOp:$src_op
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantized_function_library_uniform_quantized.mlir

          // The accumulation zero point is 0.
          %accum_scale = "tf.Mul"(%input_scale, %filter_scale) : (tensor<*xf32>, tensor<*xf32>) -> tensor<*xf32>
          %accum_zp_f32 = "tf.ZerosLike"(%accum_scale) : (tensor<*xf32>) -> tensor<*xf32>
          %accum_zp = "tf.Cast"(%accum_zp_f32) {Truncate = false} : (tensor<*xf32>) -> tensor<*xi32>
          %main_out = "tf.PartitionedCall"(%input, %filter, %input_scale, %input_zp,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 29 01:13:58 UTC 2023
    - 19.3K bytes
    - Viewed (0)
Back to top