Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for SoftmaxOp (0.3 sec)

  1. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_traits.h

      static bool IsQuantizable() { return true; }
    };
    
    // This class provides the API for ops that has a fixed output value range.
    // This is used as a trait like this:
    //
    //   class SoftmaxOp
    //       : public Op<SoftmaxOp,
    //           OpTrait::quant::FixedResultUniformScale<
    //               8, -128, 390625, -8, 0, 255, false>::Impl> {
    //
    // TODO(fengliuai): create a better way to express floating point scale in the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/hardwares/gpu_hardware.cc

    TAC_REGISTER_GPU_OP(Relu6Op, CreateBasicOpNoCost);
    TAC_REGISTER_GPU_OP(RsqrtOp, CreateBasicOpNoCost);
    TAC_REGISTER_GPU_OP(SinOp, CreateBasicOpNoCost);
    TAC_REGISTER_GPU_OP(SliceOp, CreateBasicOpNoCost);
    TAC_REGISTER_GPU_OP(SoftmaxOp, CreateBasicOpNoCost);
    TAC_REGISTER_GPU_OP(SpaceToDepthOp, CreateBasicOpNoCost);
    TAC_REGISTER_GPU_OP(SqrtOp, CreateBasicOpNoCost);
    TAC_REGISTER_GPU_OP(SquareOp, CreateBasicOpNoCost);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_ops.cc

              TF::PadV2Op::getOperationName().str(),
              TF::Relu6Op::getOperationName().str(),
              TF::ReluOp::getOperationName().str(),
              TF::ReshapeOp::getOperationName().str(),
              TF::SoftmaxOp::getOperationName().str(),
              TF::SubOp::getOperationName().str(),
              TF::TransposeOp::getOperationName().str(),
              // go/keep-sorted end
              // clang-format on
          });
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/tools/tflite_op_coverage_spec_getters_gen.cc

              if (absl::StrContains(op_name, "LSTMOp")) continue;
            } else {
              // Conditions when using MLIR.
              if (!(absl::StrContains(op_name, "LSTMOp") ||
                    absl::StrContains(op_name, "SoftmaxOp") ||
                    absl::StrContains(op_name, "LogisticOp") ||
                    absl::StrContains(op_name, "L2NormalizationOp") ||
                    absl::StrContains(op_name, "TanhOp"))) {
                continue;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config.cc

          TypeID::get<TF::ReluGradOp>(),
          TypeID::get<TF::RsqrtOp>(),
          TypeID::get<TF::SelectOp>(),
          TypeID::get<TF::SigmoidOp>(),
          TypeID::get<TF::SignOp>(),
          TypeID::get<TF::SoftmaxOp>(),
          TypeID::get<TF::SqrtOp>(),
          TypeID::get<TF::TanhOp>(),
          TypeID::get<TF::XlaConvV2Op>(),
          TypeID::get<TF::XlaDotOp>(),
          TypeID::get<TF::XlaDotV2Op>(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

        }
      }
    
      return success();
    }
    
    //===----------------------------------------------------------------------===//
    // SoftmaxOp
    //===----------------------------------------------------------------------===//
    
    LogicalResult SoftmaxOp::verify() {
      SoftmaxOp op = *this;
      if (!HasRankAtLeast(op.getLogits(), 1)) {
        return op.emitOpError("requires operand to have rank at least 1");
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

          LowerInvertPermutationOp,
          LowerPackOp,
          LowerResizeNearestNeighbor,
          LowerSoftmaxOp<TF::LogSoftmaxOp, /*use_log=*/true>,
          LowerSoftmaxOp<TF::SoftmaxOp, /*use_log=*/false>,
          LowerSpaceToBatchNDOp,
          LowerSparseMatMulOp,
          Lower_UnaryOpsComposition,
          LowerRollOp>(context);
      // clang-format on
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

        return 64 * count;
    
      return -1;
    }
    
    //===----------------------------------------------------------------------===//
    // SoftmaxOp
    //===----------------------------------------------------------------------===//
    
    int64_t SoftmaxOp::GetArithmeticCount(Operation* op) {
      int64_t count;
      // As a very rough ballpark, the cost of evaluating a math function
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top