'chlo' উপভাষা

ক্লায়েন্ট এইচএলও অপস

এই ডায়ালেক্টে এমন সব অপস (ops) রয়েছে যা XlaBuilder C++ API-এর পরিধির সাথে ঘনিষ্ঠভাবে সামঞ্জস্যপূর্ণ, যেখানে এই ধরনের অপসগুলোর অর্থ নিম্ন-স্তরের ডায়ালেক্টগুলোতে (যেমন stablehlo ) যা আছে তার চেয়েও ব্যাপক। মূলত, যখনই ক্লায়েন্ট লাইব্রেরি কোনো এপিআই কলের জন্য সিনট্যাকটিক সুগার বা একাধিক অপসের সমন্বয় ব্যবহার করে, এই ডায়ালেক্টটি সেই এপিআই কলটিকে মডেল করার চেষ্টা করে এবং নিম্ন-স্তরের ডায়ালেক্টগুলোতে সম্পূর্ণরূপে বাস্তবায়িত হওয়ার জন্য রূপান্তর প্যাটার্ন সরবরাহ করে।

অপারেশন

chlo._asin_acos_kernel (chlo::AsinAcosKernelOp)

AsinAcosKernel অপারেটর

সিনট্যাক্স:

operation ::= `chlo._asin_acos_kernel` $operand attr-dict `:` type($operand) `->` type($result)

AsinAcosKernel(operand) উপাদান-ভিত্তিক ফেরত দেয়।

If
  w = _asin_acos_kernel(z)
  w' = _asin_acos_kernel(I * z)
Then
  asin(z) = complex(atan2(z.real, w.real), sign(z.imag) * w.imag)
  acos(z) = complex(atan2(w.real, z.real), -sign(z.imag) * w.imag)
  asinh(z) = complex(sign(z.real) * w'.imag, atan2(z.imag, w'.real))
  acosh(z) = complex(w.imag, sign(z.imag) * atan2(w.real, z.real))

এই অপটি ডিকম্পোজিশনে একটি অন্তর্বর্তী মান হিসেবে ব্যবহৃত হয় এবং এটি কখনোই ফ্রেমওয়ার্ক দ্বারা সরাসরি কনস্ট্রাক্ট করা বা ব্যাকএন্ড দ্বারা কনজিউম করা উচিত নয়।

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CompatibleOperandsAndResultType , Elementwise , SameOperandsAndResultShape

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

অপারেন্ড:

অপারেন্ড বর্ণনা
operand ৩২/৬৪-বিট ফ্লোট উপাদান মান সহ জটিল ধরনের টেনসর

ফলাফল:

ফলাফল বর্ণনা
result ৩২/৬৪-বিট ফ্লোট উপাদান মান সহ জটিল ধরনের টেনসর

chlo.acos (chlo::AcosOp)

অ্যাকোস অপারেটর

সিনট্যাক্স:

operation ::= `chlo.acos` $operand attr-dict `:` type($operand) `->` type($result)

Acos(operand) উপাদান-ভিত্তিক ফেরত দেয়।

\[ \acos(x) = 2 * \atan(\sqrt(1 - x^2) / (1 + x)) if x != -1 = pi if x == -1 \]

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CompatibleOperandsAndResultType , Elementwise , SameOperandsAndResultShape

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

অপারেন্ড:

অপারেন্ড বর্ণনা
operand ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা জটিল টাইপের টেনসর, যার উপাদানগুলোর মান ৩২/৬৪-বিট ফ্লোট।

ফলাফল:

ফলাফল বর্ণনা
result ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা জটিল টাইপের টেনসর, যার উপাদানগুলোর মান ৩২/৬৪-বিট ফ্লোট।

chlo.acosh (chlo::AcoshOp)

অ্যাকোশ অপারেশন

সিনট্যাক্স:

operation ::= `chlo.acosh` $operand attr-dict `:` type($operand) `->` type($result)

উপাদান-ভিত্তিক Acosh(operand) ফেরত দেয়।

\[ \acosh(x) = log(x + sqrt(x^2 - 1)) if x >= -1 \acosh(x) = nan if x < -1 \]

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CompatibleOperandsAndResultType , Elementwise , SameOperandsAndResultShape

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

অপারেন্ড:

অপারেন্ড বর্ণনা
operand ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা জটিল টাইপের টেনসর, যার উপাদানগুলোর মান ৩২/৬৪-বিট ফ্লোট।

ফলাফল:

ফলাফল বর্ণনা
result ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা জটিল টাইপের টেনসর, যার উপাদানগুলোর মান ৩২/৬৪-বিট ফ্লোট।

chlo.asin (chlo::AsinOp)

আসিন অপারেটর

সিনট্যাক্স:

operation ::= `chlo.asin` $operand attr-dict `:` type($operand) `->` type($result)

Asin(operand) উপাদান-ভিত্তিক ভাবে ফেরত দেয়।

\[ \asin(x) = 2 * atan(x / (1 + sqrt(1 - x^2))) \]

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CompatibleOperandsAndResultType , Elementwise , SameOperandsAndResultShape

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

অপারেন্ড:

অপারেন্ড বর্ণনা
operand ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা জটিল টাইপের টেনসর, যার উপাদানগুলোর মান ৩২/৬৪-বিট ফ্লোট।

ফলাফল:

ফলাফল বর্ণনা
result ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা জটিল টাইপের টেনসর, যার উপাদানগুলোর মান ৩২/৬৪-বিট ফ্লোট।

chlo.asinh (chlo::AsinhOp)

আসিনহ অপারেশন

সিনট্যাক্স:

operation ::= `chlo.asinh` $operand attr-dict `:` type($operand) `->` type($result)

Asinh(operand) মান ফেরত দেয়।

\[ \asinh(x) = log(x + sqrt(x^2 + 1)) \]

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CompatibleOperandsAndResultType , Elementwise , SameOperandsAndResultShape

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

অপারেন্ড:

অপারেন্ড বর্ণনা
operand ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা জটিল টাইপের টেনসর, যার উপাদানগুলোর মান ৩২/৬৪-বিট ফ্লোট।

ফলাফল:

ফলাফল বর্ণনা
result ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা জটিল টাইপের টেনসর, যার উপাদানগুলোর মান ৩২/৬৪-বিট ফ্লোট।

chlo.atan (chlo::AtanOp)

আতান অপারেটর

সিনট্যাক্স:

operation ::= `chlo.atan` $operand attr-dict `:` type($operand) `->` type($result)

Atan(operand) উপাদান-ভিত্তিক ফেরত দেয়।

\[ \atan(x) = \atan2(x, 1) \]

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CompatibleOperandsAndResultType , Elementwise , SameOperandsAndResultShape

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

অপারেন্ড:

অপারেন্ড বর্ণনা
operand ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা জটিল টাইপের টেনসর, যার উপাদানগুলোর মান ৩২/৬৪-বিট ফ্লোট।

ফলাফল:

ফলাফল বর্ণনা
result ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা জটিল টাইপের টেনসর, যার উপাদানগুলোর মান ৩২/৬৪-বিট ফ্লোট।

chlo.atanh (chlo::AtanhOp)

আতান অপারেটর

সিনট্যাক্স:

operation ::= `chlo.atanh` $operand attr-dict `:` type($operand) `->` type($result)

Atanh(operand) উপাদান-ভিত্তিক ফেরত দেয়।

\[ \atanh(x) = 0.5 * log((1 + x) / (1 - x)) if abs(x) <= 1 = nan otherwise \]

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CompatibleOperandsAndResultType , Elementwise , SameOperandsAndResultShape

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

অপারেন্ড:

অপারেন্ড বর্ণনা
operand ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা জটিল টাইপের টেনসর, যার উপাদানগুলোর মান ৩২/৬৪-বিট ফ্লোট।

ফলাফল:

ফলাফল বর্ণনা
result ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা জটিল টাইপের টেনসর, যার উপাদানগুলোর মান ৩২/৬৪-বিট ফ্লোট।

chlo.bessel_i1e (chlo::BesselI1eOp)

প্রথম ক্রমের বেসেল ফাংশন

সিনট্যাক্স:

operation ::= `chlo.bessel_i1e` $operand attr-dict `:` type($operand) `->` type($result)

bessel_i1e(operand) উপাদান-ভিত্তিক ফেরত দেয়।

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CompatibleOperandsAndResultType , Elementwise , SameOperandsAndResultShape

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

অপারেন্ড:

অপারেন্ড বর্ণনা
operand ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা জটিল টাইপের টেনসর, যার উপাদানগুলোর মান ৩২/৬৪-বিট ফ্লোট।

ফলাফল:

ফলাফল বর্ণনা
result ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা জটিল টাইপের টেনসর, যার উপাদানগুলোর মান ৩২/৬৪-বিট ফ্লোট।

chlo.broadcast_add (chlo::BroadcastAddOp)

অতিরিক্ত অপারেটর (ঐচ্ছিক সম্প্রচার সহ)

সিনট্যাক্স:

operation ::= `chlo.broadcast_add` $lhs `,` $rhs attr-dict `:`
              `(` type($lhs) `,` type($rhs) `)` `->` type(results)

lhs + rhs উপাদান অনুযায়ী ফেরত দেয়।

দেখুন https://www.tensorflow.org/xla/operation_semantics#element-wise_binary_arithmetic_operations

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CHLO_Broadcasting , Commutative , HLO_BroadcastingElementwise , HLO_CompatibleOperandsAndResultElementType , InferTensorType

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

বৈশিষ্ট্যসমূহ:

বৈশিষ্ট্য এমএলআইআর টাইপ বর্ণনা
broadcast_dimensions ::mlir::DenseI64ArrayAttr i64 ঘন অ্যারে অ্যাট্রিবিউট

অপারেন্ড:

অপারেন্ড বর্ণনা
lhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।
rhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

ফলাফল:

ফলাফল বর্ণনা
«নামহীন» ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

chlo.broadcast_and (chlo::BroadcastAndOp)

লজিক্যাল এবং অপারেটর (ঐচ্ছিক সম্প্রচার সহ)

সিনট্যাক্স:

operation ::= `chlo.broadcast_and` $lhs `,` $rhs attr-dict `:`
              `(` type($lhs) `,` type($rhs) `)` `->` type(results)

বাম ও ডান উভয় পাশের এলিমেন্টের জন্য logical_and(lhs, rhs) রিটার্ন করে।

দেখুন https://www.tensorflow.org/xla/operation_semantics#element-wise_binary_arithmetic_operations

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CHLO_Broadcasting , Commutative , HLO_BroadcastingElementwise , InferTensorType

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

বৈশিষ্ট্যসমূহ:

বৈশিষ্ট্য এমএলআইআর টাইপ বর্ণনা
broadcast_dimensions ::mlir::DenseI64ArrayAttr i64 ঘন অ্যারে অ্যাট্রিবিউট

অপারেন্ড:

অপারেন্ড বর্ণনা
lhs বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যার টেনসর
rhs বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যার টেনসর

ফলাফল:

ফলাফল বর্ণনা
«নামহীন» ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

chlo.broadcast_atan2 (chlo::BroadcastAtan2Op)

Atan2 অপারেটর (ঐচ্ছিক সম্প্রচার সহ)

সিনট্যাক্স:

operation ::= `chlo.broadcast_atan2` $lhs `,` $rhs attr-dict `:`
              `(` type($lhs) `,` type($rhs) `)` `->` type(results)

উপাদান অনুসারে atan2(lhs/rhs) ফেরত দেয়।

দেখুন https://www.tensorflow.org/xla/operation_semantics#element-wise_binary_arithmetic_operations

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CHLO_Broadcasting , HLO_BroadcastingElementwise , InferTensorType , SameOperandsAndResultElementType

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

বৈশিষ্ট্যসমূহ:

বৈশিষ্ট্য এমএলআইআর টাইপ বর্ণনা
broadcast_dimensions ::mlir::DenseI64ArrayAttr i64 ঘন অ্যারে অ্যাট্রিবিউট

অপারেন্ড:

অপারেন্ড বর্ণনা
lhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।
rhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

ফলাফল:

ফলাফল বর্ণনা
«নামহীন» ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

chlo.broadcast_compare (chlo::BroadcastCompareOp)

অপারেটরের তুলনা করুন (ঐচ্ছিক সম্প্রচার সহ)

সিনট্যাক্স:

operation ::= `chlo.broadcast_compare` $lhs `,` $rhs attr-dict `:`
              `(` type($lhs) `,` type($rhs) `)` `->` type(results)

comparison_direction এবং compare_type অনুযায়ী lhsrhs উভয় অংশকে এলিমেন্ট অনুযায়ী তুলনা করে। যদি অনির্দিষ্ট থাকে, তবে float এলিমেন্ট টাইপের জন্য compare_type হয় FLOAT, signed এলিমেন্ট টাইপের জন্য SIGNED এবং unsigned এলিমেন্ট টাইপের জন্য UNSIGNED।

দেখুন https://www.tensorflow.org/xla/operation_semantics#element-wise_comparison_operations

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CHLO_Broadcasting , HLO_BroadcastingElementwise , InferTensorType

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

বৈশিষ্ট্যসমূহ:

বৈশিষ্ট্য এমএলআইআর টাইপ বর্ণনা
broadcast_dimensions ::mlir::DenseI64ArrayAttr i64 ঘন অ্যারে অ্যাট্রিবিউট
comparison_direction ::mlir::chlo::ComparisonDirectionAttr কোন তুলনা প্রক্রিয়াটি সম্পাদন করতে হবে।
compare_type ::mlir::chlo::ComparisonTypeAttr কোন তুলনার ধরণ ব্যবহার করতে হবে।

অপারেন্ড:

অপারেন্ড বর্ণনা
lhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।
rhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

ফলাফল:

ফলাফল বর্ণনা
«নামহীন» বুলিয়ান মানের টেনসর

chlo.broadcast_complex (chlo::BroadcastComplexOp)

জটিল অপারেটর (ঐচ্ছিক সম্প্রচার সহ)

সিনট্যাক্স:

operation ::= `chlo.broadcast_complex` $lhs `,` $rhs attr-dict `:`
              `(` type($lhs) `,` type($rhs) `)` `->` type(results)

একজোড়া বাস্তব এবং কাল্পনিক মানকে উপাদান-ভিত্তিক জটিল মানে রূপান্তর করে।

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CHLO_Broadcasting , HLO_BroadcastingElementwise , InferTensorType

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

বৈশিষ্ট্যসমূহ:

বৈশিষ্ট্য এমএলআইআর টাইপ বর্ণনা
broadcast_dimensions ::mlir::DenseI64ArrayAttr i64 ঘন অ্যারে অ্যাট্রিবিউট

অপারেন্ড:

অপারেন্ড বর্ণনা
lhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট মানের টেনসর
rhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট মানের টেনসর

ফলাফল:

ফলাফল বর্ণনা
«নামহীন» ৩২/৬৪-বিট ফ্লোট উপাদান মান সহ জটিল ধরনের টেনসর

chlo.broadcast_divide (chlo::BroadcastDivOp)

বিভাগীয় অপারেটর (ঐচ্ছিক সম্প্রচার সহ)

সিনট্যাক্স:

operation ::= `chlo.broadcast_divide` $lhs `,` $rhs attr-dict `:`
              `(` type($lhs) `,` type($rhs) `)` `->` type(results)

উপাদান অনুসারে lhs / rhs ফেরত দেয়।

দেখুন https://www.tensorflow.org/xla/operation_semantics#element-wise_binary_arithmetic_operations

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CHLO_Broadcasting , HLO_BroadcastingElementwise , InferTensorType , SameOperandsAndResultElementType

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

বৈশিষ্ট্যসমূহ:

বৈশিষ্ট্য এমএলআইআর টাইপ বর্ণনা
broadcast_dimensions ::mlir::DenseI64ArrayAttr i64 ঘন অ্যারে অ্যাট্রিবিউট

অপারেন্ড:

অপারেন্ড বর্ণনা
lhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।
rhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

ফলাফল:

ফলাফল বর্ণনা
«নামহীন» ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

chlo.broadcast_maximum (chlo::BroadcastMaxOp)

সর্বোচ্চ অপারেটর (ঐচ্ছিক সম্প্রচার সহ)

সিনট্যাক্স:

operation ::= `chlo.broadcast_maximum` $lhs `,` $rhs attr-dict `:`
              `(` type($lhs) `,` type($rhs) `)` `->` type(results)

max(lhs, rhs) ফেরত দেয়।

দেখুন https://www.tensorflow.org/xla/operation_semantics#element-wise_binary_arithmetic_operations

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CHLO_Broadcasting , Commutative , HLO_BroadcastingElementwise , HLO_CompatibleOperandsAndResultElementType , InferTensorType

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

বৈশিষ্ট্যসমূহ:

বৈশিষ্ট্য এমএলআইআর টাইপ বর্ণনা
broadcast_dimensions ::mlir::DenseI64ArrayAttr i64 ঘন অ্যারে অ্যাট্রিবিউট

অপারেন্ড:

অপারেন্ড বর্ণনা
lhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।
rhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

ফলাফল:

ফলাফল বর্ণনা
«নামহীন» ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

chlo.broadcast_minimum (chlo::BroadcastMinOp)

ন্যূনতম অপারেটর (ঐচ্ছিক সম্প্রচার সহ)

সিনট্যাক্স:

operation ::= `chlo.broadcast_minimum` $lhs `,` $rhs attr-dict `:`
              `(` type($lhs) `,` type($rhs) `)` `->` type(results)

উপাদান অনুসারে min(lhs, rhs) ফেরত দেয়।

দেখুন https://www.tensorflow.org/xla/operation_semantics#element-wise_binary_arithmetic_operations

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CHLO_Broadcasting , Commutative , HLO_BroadcastingElementwise , HLO_CompatibleOperandsAndResultElementType , InferTensorType

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

বৈশিষ্ট্যসমূহ:

বৈশিষ্ট্য এমএলআইআর টাইপ বর্ণনা
broadcast_dimensions ::mlir::DenseI64ArrayAttr i64 ঘন অ্যারে অ্যাট্রিবিউট

অপারেন্ড:

অপারেন্ড বর্ণনা
lhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।
rhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

ফলাফল:

ফলাফল বর্ণনা
«নামহীন» ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

chlo.broadcast_multiply (chlo::BroadcastMulOp)

গুণন অপারেটর (ঐচ্ছিক সম্প্রচার সহ)

সিনট্যাক্স:

operation ::= `chlo.broadcast_multiply` $lhs `,` $rhs attr-dict `:`
              `(` type($lhs) `,` type($rhs) `)` `->` type(results)

lhs * rhs উপাদান অনুযায়ী ফেরত দেয়।

দেখুন https://www.tensorflow.org/xla/operation_semantics#element-wise_binary_arithmetic_operations

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CHLO_Broadcasting , Commutative , HLO_BroadcastingElementwise , InferTensorType , SameOperandsAndResultElementType

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

বৈশিষ্ট্যসমূহ:

বৈশিষ্ট্য এমএলআইআর টাইপ বর্ণনা
broadcast_dimensions ::mlir::DenseI64ArrayAttr i64 ঘন অ্যারে অ্যাট্রিবিউট

অপারেন্ড:

অপারেন্ড বর্ণনা
lhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।
rhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

ফলাফল:

ফলাফল বর্ণনা
«নামহীন» ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

chlo.broadcast_next_after (chlo::BroadcastNextAfterOp)

Std::nextafter অপারেটর (ঐচ্ছিক ব্রডকাস্টিং সহ)

সিনট্যাক্স:

operation ::= `chlo.broadcast_next_after` $lhs `,` $rhs attr-dict `:`
              `(` type($lhs) `,` type($rhs) `)` `->` type(results)

এটি rhs এর দিকে lhs এর পরবর্তী উপস্থাপনযোগ্য মানটি উপাদান-ভিত্তিক ফেরত দেয়। এটি একটি সাবনরমাল সংখ্যাও ফেরত দিতে পারে।

C++ এর std::nextafter ফাংশনের সমতুল্য।

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CHLO_Broadcasting , HLO_BroadcastingElementwise , InferTensorType , SameOperandsAndResultElementType

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

বৈশিষ্ট্যসমূহ:

বৈশিষ্ট্য এমএলআইআর টাইপ বর্ণনা
broadcast_dimensions ::mlir::DenseI64ArrayAttr i64 ঘন অ্যারে অ্যাট্রিবিউট

অপারেন্ড:

অপারেন্ড বর্ণনা
lhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।
rhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

ফলাফল:

ফলাফল বর্ণনা
«নামহীন» ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

chlo.broadcast_or (chlo::BroadcastOrOp)

লজিক্যাল অথবা অপারেটর (ঐচ্ছিক সম্প্রচার সহ)

সিনট্যাক্স:

operation ::= `chlo.broadcast_or` $lhs `,` $rhs attr-dict `:`
              `(` type($lhs) `,` type($rhs) `)` `->` type(results)

উপাদান-ভিত্তিক logical_or(lhs, rhs) রিটার্ন করে।

দেখুন https://www.tensorflow.org/xla/operation_semantics#element-wise_binary_arithmetic_operations

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CHLO_Broadcasting , Commutative , HLO_BroadcastingElementwise , InferTensorType

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

বৈশিষ্ট্যসমূহ:

বৈশিষ্ট্য এমএলআইআর টাইপ বর্ণনা
broadcast_dimensions ::mlir::DenseI64ArrayAttr i64 ঘন অ্যারে অ্যাট্রিবিউট

অপারেন্ড:

অপারেন্ড বর্ণনা
lhs বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যার টেনসর
rhs বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যার টেনসর

ফলাফল:

ফলাফল বর্ণনা
«নামহীন» ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

chlo.broadcast_polygamma (chlo::BroadcastPolygammaOp)

পলিগামা ফাংশন (ঐচ্ছিক সম্প্রচার সহ)

সিনট্যাক্স:

operation ::= `chlo.broadcast_polygamma` $lhs `,` $rhs attr-dict `:`
              `(` type($lhs) `,` type($rhs) `)` `->` type(results)

উপাদান-ভিত্তিক Polygamma(operand, operand) ফেরত দেয়।

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CHLO_Broadcasting , HLO_BroadcastingElementwise , InferTensorType , SameOperandsAndResultElementType

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

বৈশিষ্ট্যসমূহ:

বৈশিষ্ট্য এমএলআইআর টাইপ বর্ণনা
broadcast_dimensions ::mlir::DenseI64ArrayAttr i64 ঘন অ্যারে অ্যাট্রিবিউট

অপারেন্ড:

অপারেন্ড বর্ণনা
lhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।
rhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

ফলাফল:

ফলাফল বর্ণনা
«নামহীন» ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

chlo.broadcast_power (chlo::BroadcastPowOp)

পাওয়ার অপারেটর (ঐচ্ছিক সম্প্রচার সহ)

সিনট্যাক্স:

operation ::= `chlo.broadcast_power` $lhs `,` $rhs attr-dict `:`
              `(` type($lhs) `,` type($rhs) `)` `->` type(results)

lhs ^ rhs এলিমেন্টগুলো পর্যায়ক্রমে ফেরত দেয়।

দেখুন https://www.tensorflow.org/xla/operation_semantics#element-wise_binary_arithmetic_operations

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CHLO_Broadcasting , HLO_BroadcastingElementwise , InferTensorType , SameOperandsAndResultElementType

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

বৈশিষ্ট্যসমূহ:

বৈশিষ্ট্য এমএলআইআর টাইপ বর্ণনা
broadcast_dimensions ::mlir::DenseI64ArrayAttr i64 ঘন অ্যারে অ্যাট্রিবিউট

অপারেন্ড:

অপারেন্ড বর্ণনা
lhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।
rhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

ফলাফল:

ফলাফল বর্ণনা
«নামহীন» ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

chlo.broadcast_remainder (chlo::BroadcastRemOp)

অবশিষ্ট অপারেটর (ঐচ্ছিক সম্প্রচার সহ)

সিনট্যাক্স:

operation ::= `chlo.broadcast_remainder` $lhs `,` $rhs attr-dict `:`
              `(` type($lhs) `,` type($rhs) `)` `->` type(results)

উপাদান অনুসারে lhs % rhs ফেরত দেয়।

দেখুন https://www.tensorflow.org/xla/operation_semantics#element-wise_binary_arithmetic_operations

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CHLO_Broadcasting , HLO_BroadcastingElementwise , InferTensorType , SameOperandsAndResultElementType

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

বৈশিষ্ট্যসমূহ:

বৈশিষ্ট্য এমএলআইআর টাইপ বর্ণনা
broadcast_dimensions ::mlir::DenseI64ArrayAttr i64 ঘন অ্যারে অ্যাট্রিবিউট

অপারেন্ড:

অপারেন্ড বর্ণনা
lhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।
rhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

ফলাফল:

ফলাফল বর্ণনা
«নামহীন» ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

chlo.broadcast_select (chlo::BroadcastSelectOp)

অপারেটর নির্বাচন করুন (ঐচ্ছিক নামপাই-শৈলীর ব্রডকাস্টিং সহ)

সিনট্যাক্স:

operation ::= `chlo.broadcast_select` $pred `,` $on_true `,` $on_false attr-dict `:`
              `(` type($pred) `,` type($on_true) `,` type($on_false) `)` `->` type(results)

একটি প্রেডিকেট অ্যারের মানের উপর ভিত্তি করে, দুটি ইনপুট অ্যারের উপাদান থেকে একটি আউটপুট অ্যারে তৈরি করে।

দেখুন https://www.tensorflow.org/xla/operation_semantics#select

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CHLO_Broadcasting , HLO_BroadcastingElementwise , InferTensorType

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

অপারেন্ড:

অপারেন্ড বর্ণনা
pred বুলিয়ান মানগুলির র‍্যাঙ্কড টেনসর
on_true ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।
on_false ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

ফলাফল:

ফলাফল বর্ণনা
«নামহীন» ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

chlo.broadcast_shift_left (chlo::BroadcastShiftLeftOp)

শিফট লেফট অপারেটর (ঐচ্ছিক সম্প্রচার সহ)

সিনট্যাক্স:

operation ::= `chlo.broadcast_shift_left` $lhs `,` $rhs attr-dict `:`
              `(` type($lhs) `,` type($rhs) `)` `->` type(results)

উপাদান অনুসারে lhs << rhs ফেরত দেয়।

দেখুন https://www.tensorflow.org/xla/operation_semantics#element-wise_binary_arithmetic_operations

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CHLO_Broadcasting , HLO_BroadcastingElementwise , InferTensorType , SameOperandsAndResultElementType

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

বৈশিষ্ট্যসমূহ:

বৈশিষ্ট্য এমএলআইআর টাইপ বর্ণনা
broadcast_dimensions ::mlir::DenseI64ArrayAttr i64 ঘন অ্যারে অ্যাট্রিবিউট

অপারেন্ড:

অপারেন্ড বর্ণনা
lhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।
rhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

ফলাফল:

ফলাফল বর্ণনা
«নামহীন» ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

chlo.broadcast_shift_right_arithmetic (chlo::BroadcastShiftRightArithmeticOp)

ডান দিকে সরান গাণিতিক অপারেটর (ঐচ্ছিক সম্প্রচার সহ)

সিনট্যাক্স:

operation ::= `chlo.broadcast_shift_right_arithmetic` $lhs `,` $rhs attr-dict `:`
              `(` type($lhs) `,` type($rhs) `)` `->` type(results)

উপাদান অনুসারে lhs >> rhs বেশি মান ফেরত দেয়।

দেখুন https://www.tensorflow.org/xla/operation_semantics#element-wise_binary_arithmetic_operations

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CHLO_Broadcasting , HLO_BroadcastingElementwise , InferTensorType , SameOperandsAndResultElementType

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

বৈশিষ্ট্যসমূহ:

বৈশিষ্ট্য এমএলআইআর টাইপ বর্ণনা
broadcast_dimensions ::mlir::DenseI64ArrayAttr i64 ঘন অ্যারে অ্যাট্রিবিউট

অপারেন্ড:

অপারেন্ড বর্ণনা
lhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।
rhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

ফলাফল:

ফলাফল বর্ণনা
«নামহীন» ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

chlo.broadcast_shift_right_logical (chlo::BroadcastShiftRightLogicalOp)

ডানদিকে সরান লজিক্যাল অপারেটর (ঐচ্ছিক ব্রডকাস্টিং সহ)

সিনট্যাক্স:

operation ::= `chlo.broadcast_shift_right_logical` $lhs `,` $rhs attr-dict `:`
              `(` type($lhs) `,` type($rhs) `)` `->` type(results)

উপাদান অনুসারে lhs >> rhs বেশি মান ফেরত দেয়।

দেখুন https://www.tensorflow.org/xla/operation_semantics#element-wise_binary_arithmetic_operations

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CHLO_Broadcasting , HLO_BroadcastingElementwise , InferTensorType , SameOperandsAndResultElementType

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

বৈশিষ্ট্যসমূহ:

বৈশিষ্ট্য এমএলআইআর টাইপ বর্ণনা
broadcast_dimensions ::mlir::DenseI64ArrayAttr i64 ঘন অ্যারে অ্যাট্রিবিউট

অপারেন্ড:

অপারেন্ড বর্ণনা
lhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।
rhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

ফলাফল:

ফলাফল বর্ণনা
«নামহীন» ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

chlo.broadcast_subtract (chlo::BroadcastSubOp)

বিয়োগ অপারেটর (ঐচ্ছিক সম্প্রচার সহ)

সিনট্যাক্স:

operation ::= `chlo.broadcast_subtract` $lhs `,` $rhs attr-dict `:`
              `(` type($lhs) `,` type($rhs) `)` `->` type(results)

lhs - rhs উপাদান অনুযায়ী ফেরত দেয়।

দেখুন https://www.tensorflow.org/xla/operation_semantics#element-wise_binary_arithmetic_operations

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CHLO_Broadcasting , HLO_BroadcastingElementwise , InferTensorType , SameOperandsAndResultElementType

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

বৈশিষ্ট্যসমূহ:

বৈশিষ্ট্য এমএলআইআর টাইপ বর্ণনা
broadcast_dimensions ::mlir::DenseI64ArrayAttr i64 ঘন অ্যারে অ্যাট্রিবিউট

অপারেন্ড:

অপারেন্ড বর্ণনা
lhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।
rhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

ফলাফল:

ফলাফল বর্ণনা
«নামহীন» ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

chlo.broadcast_xor (chlo::BroadcastXorOp)

লজিক্যাল এক্সওআর অপারেটর (ঐচ্ছিক ব্রডকাস্টিং সহ)

সিনট্যাক্স:

operation ::= `chlo.broadcast_xor` $lhs `,` $rhs attr-dict `:`
              `(` type($lhs) `,` type($rhs) `)` `->` type(results)

উপাদান-ভিত্তিক logical_xor(lhs, rhs) রিটার্ন করে।

দেখুন https://www.tensorflow.org/xla/operation_semantics#element-wise_binary_arithmetic_operations

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CHLO_Broadcasting , Commutative , HLO_BroadcastingElementwise , InferTensorType

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

বৈশিষ্ট্যসমূহ:

বৈশিষ্ট্য এমএলআইআর টাইপ বর্ণনা
broadcast_dimensions ::mlir::DenseI64ArrayAttr i64 ঘন অ্যারে অ্যাট্রিবিউট

অপারেন্ড:

অপারেন্ড বর্ণনা
lhs বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যার টেনসর
rhs বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যার টেনসর

ফলাফল:

ফলাফল বর্ণনা
«নামহীন» ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

chlo.broadcast_zeta (chlo::BroadcastZetaOp)

হারউইটজ জেটা ফাংশন

সিনট্যাক্স:

operation ::= `chlo.broadcast_zeta` $lhs `,` $rhs attr-dict `:`
              `(` type($lhs) `,` type($rhs) `)` `->` type(results)

Zeta(operand, operand) উপাদান-ভিত্তিক ফেরত দেয়।

\[ \(\zeta(x, q) = \sum_{n=0}^{\infty} (q + n)^{-x}\) \]

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CHLO_Broadcasting , HLO_BroadcastingElementwise , InferTensorType , SameOperandsAndResultElementType

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

বৈশিষ্ট্যসমূহ:

বৈশিষ্ট্য এমএলআইআর টাইপ বর্ণনা
broadcast_dimensions ::mlir::DenseI64ArrayAttr i64 ঘন অ্যারে অ্যাট্রিবিউট

অপারেন্ড:

অপারেন্ড বর্ণনা
lhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট মানের টেনসর
rhs ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট মানের টেনসর

ফলাফল:

ফলাফল বর্ণনা
«নামহীন» ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট মানের টেনসর

chlo.conj (chlo::ConjOp)

কনজ অপারেটর

সিনট্যাক্স:

operation ::= `chlo.conj` $operand attr-dict `:` type($operand) `->` type($result)

Conj(operand) ফেরত দেয়।

\[ \conj(x) = (\real(x), \neg(\imag(x))) \]

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CompatibleOperandsAndResultType , Elementwise , SameOperandsAndResultShape

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

অপারেন্ড:

অপারেন্ড বর্ণনা
operand ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা জটিল টাইপের টেনসর, যার উপাদানগুলোর মান ৩২/৬৪-বিট ফ্লোট।

ফলাফল:

ফলাফল বর্ণনা
result ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা জটিল টাইপের টেনসর, যার উপাদানগুলোর মান ৩২/৬৪-বিট ফ্লোট।

chlo.constant (chlo::ConstantOp)

ধ্রুবক অপারেটর

সিনট্যাক্স:

operation ::= `chlo.constant` attr-dict $value

একটি ধ্রুবক মান বোঝায়।

বৈশিষ্ট্য: AlwaysSpeculatableImplTrait , ConstantLike

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

বৈশিষ্ট্যসমূহ:

বৈশিষ্ট্য এমএলআইআর টাইপ বর্ণনা
value ::mlir::ElementsAttr ধ্রুবক ভেক্টর/টেনসর অ্যাট্রিবিউট

ফলাফল:

ফলাফল বর্ণনা
output ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুল অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা বা জটিল টাইপের স্ট্যাটিক্যালি শেপড টেনসর যার ৩২/৬৪-বিট ফ্লোট উপাদান রয়েছে অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড মান রয়েছে

chlo.constant_like (chlo::ConstantLikeOp)

ধ্রুবক অপারেটরের মতো

অপারেন্ডের আকৃতির অনুরূপ একটি স্প্ল্যাট কনস্ট্যান্ট ফেরত দেয়।

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CHLO_Broadcasting , HLO_BroadcastingElementwise , InferTensorType , SameOperandsAndResultShape

ইন্টারফেসসমূহ: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

প্রভাব: MemoryEffects::Effect{}

বৈশিষ্ট্যসমূহ:

বৈশিষ্ট্য এমএলআইআর টাইপ বর্ণনা
value ::mlir::TypedAttr TypedAttr ইনস্ট্যান্স

অপারেন্ড:

অপারেন্ড বর্ণনা
operand ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

ফলাফল:

ফলাফল বর্ণনা
«নামহীন» ৪/৬/৮/১৬/৩২/৬৪-বিট ফ্লোট বা বুলিয়ান অথবা ২/৪/৮/১৬/৩২/৬৪-বিট পূর্ণসংখ্যা অথবা ৩২/৬৪-বিট ফ্লোট উপাদানযুক্ত জটিল টাইপের টেনসর অথবা প্রতি-টেনসর পূর্ণসংখ্যা কোয়ান্টাইজড অথবা প্রতি-অক্ষ পূর্ণসংখ্যা কোয়ান্টাইজড মান।

chlo.cosh (chlo::CoshOp)

কোশ অপারেটর

সিনট্যাক্স:

operation ::= `chlo.cosh` $operand attr-dict `:` type($operand) `->` type($result)

উপাদান-ভিত্তিক Cosh(operand) ফেরত দেয়।

\[ \cosh(x) = (e^x + e^-x) / 2 \]

বৈশিষ্ট্যসমূহ: AlwaysSpeculatableImplTrait , CompatibleOperandsAndResultType , Elementwise , SameOperandsAndResultShape

Interfaces: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands:

Operand বর্ণনা
operand tensor of 4/6/8/16/32/64-bit float or complex type with 32/64-bit float elements values

Results:

ফলাফল বর্ণনা
result tensor of 4/6/8/16/32/64-bit float or complex type with 32/64-bit float elements values

chlo.digamma (chlo::DigammaOp)

Digamma function

Syntax:

operation ::= `chlo.digamma` $operand attr-dict `:` type($operand) `->` type($result)

Returns Digamma(operand) element-wise.

Traits: AlwaysSpeculatableImplTrait , CompatibleOperandsAndResultType , Elementwise , SameOperandsAndResultShape

Interfaces: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands:

Operand বর্ণনা
operand tensor of 4/6/8/16/32/64-bit float values

Results:

ফলাফল বর্ণনা
result tensor of 4/6/8/16/32/64-bit float values

chlo.erf (chlo::ErfOp)

Erfc operator

Syntax:

operation ::= `chlo.erf` $operand attr-dict `:` type($operand) `->` type($result)

Computes the Gauss error function of x element-wise.

erf(x) = erf_impl(x) if |x| < 1 = 1 - erfc_impl(x) otherwise

Traits: AlwaysSpeculatableImplTrait , CompatibleOperandsAndResultType , Elementwise , SameOperandsAndResultShape

Interfaces: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands:

Operand বর্ণনা
operand tensor of 4/6/8/16/32/64-bit float values

Results:

ফলাফল বর্ণনা
result tensor of 4/6/8/16/32/64-bit float values

chlo.erf_inv (chlo::ErfInvOp)

Inverse Erf

Syntax:

operation ::= `chlo.erf_inv` $operand attr-dict `:` type($operand) `->` type($result)

Returns ErfInv(operand) element-wise.

Traits: AlwaysSpeculatableImplTrait , CompatibleOperandsAndResultType , Elementwise , SameOperandsAndResultShape

Interfaces: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands:

Operand বর্ণনা
operand tensor of 4/6/8/16/32/64-bit float values

Results:

ফলাফল বর্ণনা
result tensor of 4/6/8/16/32/64-bit float values

chlo.erfc (chlo::ErfcOp)

Erfc operator

Syntax:

operation ::= `chlo.erfc` $operand attr-dict `:` type($operand) `->` type($result)

Computes an approximation of the error function complement (1 - erf(x)).

erfc(x) = erfc_impl(x) if |x| > 1 = 1 - erf_impl(x) otherwise

Traits: AlwaysSpeculatableImplTrait , CompatibleOperandsAndResultType , Elementwise , SameOperandsAndResultShape

Interfaces: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands:

Operand বর্ণনা
operand tensor of 4/6/8/16/32/64-bit float values

Results:

ফলাফল বর্ণনা
result tensor of 4/6/8/16/32/64-bit float values

chlo.is_inf (chlo::IsInfOp)

IsInf predicate

Syntax:

operation ::= `chlo.is_inf` $operand attr-dict `:` type($operand) `->` type($result)

Returns if a value is +/-inf element-wise.

Traits: AlwaysSpeculatableImplTrait , Elementwise , SameOperandsAndResultShape

Interfaces: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands:

Operand বর্ণনা
operand tensor of 4/6/8/16/32/64-bit float values

Results:

ফলাফল বর্ণনা
result tensor of bool values

chlo.is_neg_inf (chlo::IsNegInfOp)

IsNegInf predicate

Syntax:

operation ::= `chlo.is_neg_inf` $operand attr-dict `:` type($operand) `->` type($result)

Returns if a value is -inf element-wise.

Traits: AlwaysSpeculatableImplTrait , Elementwise , SameOperandsAndResultShape

Interfaces: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands:

Operand বর্ণনা
operand tensor of 4/6/8/16/32/64-bit float values

Results:

ফলাফল বর্ণনা
result tensor of bool values

chlo.is_pos_inf (chlo::IsPosInfOp)

IsPosInf predicate

Syntax:

operation ::= `chlo.is_pos_inf` $operand attr-dict `:` type($operand) `->` type($result)

Returns if a value is +inf element-wise.

Traits: AlwaysSpeculatableImplTrait , Elementwise , SameOperandsAndResultShape

Interfaces: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands:

Operand বর্ণনা
operand tensor of 4/6/8/16/32/64-bit float values

Results:

ফলাফল বর্ণনা
result tensor of bool values

chlo.lgamma (chlo::LgammaOp)

Lgamma function

Syntax:

operation ::= `chlo.lgamma` $operand attr-dict `:` type($operand) `->` type($result)

Returns Lgamma(operand) element-wise.

Traits: AlwaysSpeculatableImplTrait , CompatibleOperandsAndResultType , Elementwise , SameOperandsAndResultShape

Interfaces: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands:

Operand বর্ণনা
operand tensor of 4/6/8/16/32/64-bit float values

Results:

ফলাফল বর্ণনা
result tensor of 4/6/8/16/32/64-bit float values

chlo.next_after (chlo::NextAfterOp)

Std::nextafter operator

Syntax:

operation ::= `chlo.next_after` $x `,` $y attr-dict `:` type($x) `,` type($y) `->` type(results)

Returns the next representable value of x in the direction of y , element-wise. It can also return a subnormal number.

Equivalent to the C++ std::nextafter function.

Traits: AlwaysSpeculatableImplTrait , CompatibleOperandsAndResultType

Interfaces: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands:

Operand বর্ণনা
x tensor of 4/6/8/16/32/64-bit float values
y tensor of 4/6/8/16/32/64-bit float values

Results:

ফলাফল বর্ণনা
result tensor of 4/6/8/16/32/64-bit float values

chlo.polygamma (chlo::PolygammaOp)

Polygamma function

Syntax:

operation ::= `chlo.polygamma` $n `,` $x attr-dict `:` type($n) `,` type($x) `->` type(results)

Returns Polygamma(operand, operand) element-wise.

Traits: AlwaysSpeculatableImplTrait , CompatibleOperandsAndResultType

Interfaces: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands:

Operand বর্ণনা
n tensor of 4/6/8/16/32/64-bit float values
x tensor of 4/6/8/16/32/64-bit float values

Results:

ফলাফল বর্ণনা
result tensor of 4/6/8/16/32/64-bit float values

chlo.ragged_dot (chlo::RaggedDotOp)

Computes a matmul over a single ragged dimension

This operation takes three tensor args---lhs, rhs, and group_sizes---and a "ragged_dot_dimension_numbers" attribute. Like dot_general, the lhs and rhs are allowed arbitrary batch and contracting dimensions. Additionally, the lhs is required to have one ragged dimension, and the rhs may have at most one group dimension. The op has three modes, depending on the kind of the lhs ragged dimension.

In mode 1, the shape-signature is [b,m,k], [g,b,k,n], [b,g] -> [b,m,n] . Here the ragged dimension is an lhs non-contracting dimension ( m ). The dimensions b and k represent batch and contracting dimensions respectively. The rhs is required to have a group dimension ( g ).

In mode 2, the shape-signature is [b,m,k], [b,k,n], [b,g] -> [g,b,m,n] . Here the ragged dimension is an lhs/rhs contracting dimension ( k ).

In mode 3, the shape-signature is [b,m,k], [b,k,n], [g] -> [b,m,n] . Here the ragged dimension is an lhs/rhs batch dimension ( b ).

Traits: AlwaysSpeculatableImplTrait

Interfaces: ConditionallySpeculatable , NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Attributes:

বৈশিষ্ট্য MLIR Type বর্ণনা
ragged_dot_dimension_numbers ::mlir::chlo::RaggedDotDimensionNumbersAttr Attribute that models the dimension information for ragged dot.
precision_config ::mlir::ArrayAttr Precision Config attribute

Operands:

Operand বর্ণনা
lhs tensor of 4/6/8/16/32/64-bit float or bool or 2/4/8/16/32/64-bit integer or complex type with 32/64-bit float elements or per-tensor integer quantized or per-axis integer quantized values
rhs tensor of 4/6/8/16/32/64-bit float or bool or 2/4/8/16/32/64-bit integer or complex type with 32/64-bit float elements or per-tensor integer quantized or per-axis integer quantized values
group_sizes ranked tensor of 2/4/8/16/32/64-bit integer values

Results:

ফলাফল বর্ণনা
result tensor of 4/6/8/16/32/64-bit float or bool or 2/4/8/16/32/64-bit integer or complex type with 32/64-bit float elements or per-tensor integer quantized or per-axis integer quantized values

chlo.scan (chlo::ScanOp)

Scan operation

Applies a reduction function body to inputs and inits along the dimension and produces results (comprising outputs and carries ).

If is_reverse is true, the scan is performed in reverse order. is_associative indicates whether the reduction function is associative.

See: https://www.tensorflow.org/xla/operation_semantics#scan

ScanOp currently does not have a decomposition to StableHLO.

Traits: AttrSizedOperandSegments , AttrSizedResultSegments , InferTensorType , IsolatedFromAbove , RecursiveMemoryEffects

Interfaces: InferShapedTypeOpInterface , InferTypeOpInterface , OpAsmOpInterface

Attributes:

বৈশিষ্ট্য MLIR Type বর্ণনা
dimension ::mlir::IntegerAttr 64-bit signless integer attribute whose value is non-negative
scan_dim_size ::mlir::IntegerAttr 64-bit signless integer attribute whose value is non-negative
is_reverse ::mlir::BoolAttr bool attribute
is_associative ::mlir::BoolAttr bool attribute

Operands:

Operand বর্ণনা
inputs variadic of tensor of 4/6/8/16/32/64-bit float or bool or 2/4/8/16/32/64-bit integer or complex type with 32/64-bit float elements or per-tensor integer quantized or per-axis integer quantized values
inits variadic of tensor of 4/6/8/16/32/64-bit float or bool or 2/4/8/16/32/64-bit integer or complex type with 32/64-bit float elements or per-tensor integer quantized or per-axis integer quantized values

Results:

ফলাফল বর্ণনা
outputs variadic of tensor of 4/6/8/16/32/64-bit float or bool or 2/4/8/16/32/64-bit integer or complex type with 32/64-bit float elements or per-tensor integer quantized or per-axis integer quantized values
carries variadic of tensor of 4/6/8/16/32/64-bit float or bool or 2/4/8/16/32/64-bit integer or complex type with 32/64-bit float elements or per-tensor integer quantized or per-axis integer quantized values

chlo.sinh (chlo::SinhOp)

Sinh operation

Syntax:

operation ::= `chlo.sinh` $operand attr-dict `:` type($operand) `->` type($result)

Returns Sinh(operand) element-wise.

\[ \sinh(x) = (e^x - e^-x) / 2 if |x| < 1 = e^(x + log(1/2)) - e^(-x + log(1/2)) otherwise. \]

Traits: AlwaysSpeculatableImplTrait , CompatibleOperandsAndResultType , Elementwise , SameOperandsAndResultShape

Interfaces: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands:

Operand বর্ণনা
operand tensor of 4/6/8/16/32/64-bit float or complex type with 32/64-bit float elements values

Results:

ফলাফল বর্ণনা
result tensor of 4/6/8/16/32/64-bit float or complex type with 32/64-bit float elements values

chlo.square (chlo::SquareOp)

Square operation

Syntax:

operation ::= `chlo.square` $operand attr-dict `:` type($operand) `->` type($result)

Returns Square(operand) element-wise.

\[ \square(x) = complex((x.real - x.imag) * (x.real + x.imag), x.real * x.imag * 2) if x is a complex number = x * x otherwise \]

Traits: AlwaysSpeculatableImplTrait , CompatibleOperandsAndResultType , Elementwise , SameOperandsAndResultShape

Interfaces: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands:

Operand বর্ণনা
operand tensor of 4/6/8/16/32/64-bit float or complex type with 32/64-bit float elements values

Results:

ফলাফল বর্ণনা
result tensor of 4/6/8/16/32/64-bit float or complex type with 32/64-bit float elements values

chlo.tan (chlo::TanOp)

Tan operation

Syntax:

operation ::= `chlo.tan` $operand attr-dict `:` type($operand) `->` type($result)

Returns Tan(operand) element-wise.

\[ \tan(x) = \sin(x) / \cos(x) \]

Traits: AlwaysSpeculatableImplTrait , CompatibleOperandsAndResultType , Elementwise , SameOperandsAndResultShape

Interfaces: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands:

Operand বর্ণনা
operand tensor of 4/6/8/16/32/64-bit float or complex type with 32/64-bit float elements values

Results:

ফলাফল বর্ণনা
result tensor of 4/6/8/16/32/64-bit float or complex type with 32/64-bit float elements values

chlo.top_k (chlo::TopKOp)

Finds values and indices of the k largest elements for the last dimension

Syntax:

operation ::= `chlo.top_k` `(`$operand `,` `k` `=` $k`)` attr-dict `:`
              type($operand) `->` `(`type($values)`,` type($indices)`)`

If the input is a vector (rank-1), finds the k largest entries in the vector and outputs their values and indices as vectors. Thus values[j] is the j -th largest entry in input , and its index is indices[j] .

For matrices (resp. higher rank input), computes the top k entries in each row (resp. vector along the last dimension). Thus,

values.shape = indices.shape = input.shape[:-1] + [k]

If two elements are equal, the lower-index element appears first.

Traits: AlwaysSpeculatableImplTrait , InferTensorType

Interfaces: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Attributes:

বৈশিষ্ট্য MLIR Type বর্ণনা
k ::mlir::IntegerAttr 64-bit signless integer attribute

Operands:

Operand বর্ণনা
operand tensor of 4/6/8/16/32/64-bit float or bool or 2/4/8/16/32/64-bit integer or complex type with 32/64-bit float elements or per-tensor integer quantized or per-axis integer quantized values

Results:

ফলাফল বর্ণনা
values tensor of 4/6/8/16/32/64-bit float or bool or 2/4/8/16/32/64-bit integer or complex type with 32/64-bit float elements or per-tensor integer quantized or per-axis integer quantized values
indices tensor of 4/6/8/16/32/64-bit float or bool or 2/4/8/16/32/64-bit integer or complex type with 32/64-bit float elements or per-tensor integer quantized or per-axis integer quantized values

chlo.zeta (chlo::ZetaOp)

Hurwitz zeta function

Syntax:

operation ::= `chlo.zeta` $x `,` $q attr-dict `:` type($x) `,` type($q) `->` type(results)

Returns Zeta(operand, operand) element-wise.

\[ \(\zeta(x, q) = \sum_{n=0}^{\infty} (q + n)^{-x}\) \]

Traits: AlwaysSpeculatableImplTrait , CompatibleOperandsAndResultType

Interfaces: ConditionallySpeculatable , InferShapedTypeOpInterface , InferTypeOpInterface , NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands:

Operand বর্ণনা
x tensor of 4/6/8/16/32/64-bit float values
q tensor of 4/6/8/16/32/64-bit float values

Results:

ফলাফল বর্ণনা
result tensor of 4/6/8/16/32/64-bit float values

বৈশিষ্ট্য

ComparisonDirectionAttr

Which comparison operation to perform.

Syntax:

#chlo.comparison_direction<
  ::mlir::chlo::ComparisonDirection   # value
>

পরামিতি:

প্যারামিটার C++ type বর্ণনা
মূল্য ::mlir::chlo::ComparisonDirection an enum of type ComparisonDirection

ComparisonTypeAttr

Which comparison type to use.

Syntax:

#chlo.comparison_type<
  ::mlir::chlo::ComparisonType   # value
>

পরামিতি:

প্যারামিটার C++ type বর্ণনা
মূল্য ::mlir::chlo::ComparisonType an enum of type ComparisonType

PrecisionAttr

XLA precision for an operand. Has backend specific meaning.

Syntax:

#chlo.precision<
  ::mlir::chlo::Precision   # value
>

পরামিতি:

প্যারামিটার C++ type বর্ণনা
মূল্য ::mlir::chlo::Precision an enum of type Precision

RaggedDotDimensionNumbersAttr

Attribute that models the dimension information for ragged dot.

পরামিতি:

প্যারামিটার C++ type বর্ণনা
lhsBatchingDimensions ::llvm::ArrayRef<int64_t> মাত্রা
rhsBatchingDimensions ::llvm::ArrayRef<int64_t> মাত্রা
lhsContractingDimensions ::llvm::ArrayRef<int64_t> মাত্রা
rhsContractingDimensions ::llvm::ArrayRef<int64_t> মাত্রা
lhsRaggedDimensions ::llvm::ArrayRef<int64_t> মাত্রা
rhsGroupDimensions ::llvm::ArrayRef<int64_t> মাত্রা

এনাম

ComparisonDirection

Which comparison operation to perform.

Cases:

প্রতীক মূল্য স্ট্রিং
EQ 0 EQ
উত্তর-পূর্ব 1 উত্তর-পূর্ব
জিই 2 জিই
জিটি 3 জিটি
LE 4 LE
এলটি 5 এলটি

ComparisonType

Which comparison type to use.

Cases:

প্রতীক মূল্য স্ট্রিং
NOTYPE 0 NOTYPE
ভাসানো 1 ভাসানো
TOTALORDER 2 TOTALORDER
স্বাক্ষরিত 3 স্বাক্ষরিত
UNSIGNED 4 UNSIGNED

নির্ভুলতা

XLA precision for an operand. Has backend specific meaning.

Cases:

প্রতীক মূল্য স্ট্রিং
ডিফল্ট 0 ডিফল্ট
উচ্চ 1 উচ্চ
HIGHEST 2 HIGHEST