Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for Dtype (0.2 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

    }
    
    // Return true if the passed quantized type is unsigned.
    bool QuantizedTypeIsUnsigned(Type type) {
      return TypeSwitch<Type, bool>(type)
          .Case<mlir::TF::Qint8Type>([](Type) { return false; })
          .Case<mlir::TF::Qint16Type>([](Type) { return false; })
          .Case<mlir::TF::Qint32Type>([](Type) { return false; })
          .Case<mlir::TF::Quint8Type>([](Type) { return true; })
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/deadness_analysis.cc

        if (node->type_string() == "Const" && must_be_true) {
          const TensorProto* proto = nullptr;
          TF_RETURN_IF_ERROR(GetNodeAttr(node->def(), "value", &proto));
    
          Tensor tensor(proto->dtype());
          TF_RET_CHECK(tensor.FromProto(*proto));
    
          *predicate = tensor.scalar<bool>()() ? MakeTrue() : MakeFalse();
          return absl::OkStatus();
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
Back to top