Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 185 for data_type_ (0.55 sec)

  1. tensorflow/compiler/mlir/tfrt/saved_model/saved_model.cc

        return mlir::cast<mlir::StringAttr>(index_path[0]).getValue();
      }
      return "";
    }
    
    absl::StatusOr<std::pair<tensorflow::DataType, tensorflow::PartialTensorShape>>
    ProcessTensorSpec(mlir::TensorType type) {
      tensorflow::DataType dtype;
      TF_RETURN_IF_ERROR(
          ConvertScalarTypeToDataType(type.getElementType(), &dtype));
    
      if (!type.hasRank())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/core/ops/variable_ops.cc

    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    namespace internal {
    
    Status CreateUninitializedResourceVariable(ImmediateExecutionContext* ctx,
                                               DataType dtype, TensorShape shape,
                                               const char* raw_device_name,
                                               ImmediateTensorHandlePtr* handle) {
      ImmediateOpPtr varhandle_op(ctx->CreateOperation());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 11:28:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-tooling-models/src/main/kotlin/org/gradle/declarative/dsl/schema/DataTypeRef.kt

    
    @ToolingModelContract(subTypes = [
        DataTypeRef.Type::class,
        DataTypeRef.Name::class
    ])
    sealed interface DataTypeRef : Serializable {
        interface Type : DataTypeRef {
            val dataType: DataType
        }
    
        interface Name : DataTypeRef {
            val fqName: FqName
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:03 UTC 2024
    - 1021 bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/DataSchemaBuilder.kt

            val topLevelReceiverName = topLevelReceiver.fqName
    
            return DefaultAnalysisSchema(
                dataTypes.single { it.name == topLevelReceiverName },
                dataTypes.associateBy { it.name },
                extFunctions,
                extObjects,
                defaultImports.toSet()
            )
        }
    
        private
        val KClass<*>.fqName
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:02 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. internal/jwt/parser.go

    func (c *StandardClaims) UnmarshalJSON(b []byte) (err error) {
    	return jsonparser.ObjectEach(b, func(key []byte, value []byte, dataType jsonparser.ValueType, _ int) error {
    		if len(key) == 0 {
    			return nil
    		}
    		switch key[0] {
    		case 'a':
    			if string(key) == "accessKey" {
    				if dataType != jsonparser.String {
    					return errors.New("accessKey: Expected string")
    				}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 09 07:53:08 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_unified_experimental_graph.cc

     public:
      explicit GraphTensor(TF_Output output, TF_Graph* graph)
          : TracingTensorHandle(kGraph), output_(output), graph_(graph) {}
    
      tensorflow::DataType DataType() const override {
        return static_cast<tensorflow::DataType>(TF_OperationOutputType(output_));
      }
    
      tensorflow::Status Shape(
          tensorflow::PartialTensorShape* shape) const override {
        DCHECK(shape != nullptr);
        TF_Status status;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 20:00:09 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/utils/convert_type.h

    // Convert the scalar type of a TFLite tensor to the corresponding
    // Tensorflow type
    tensorflow::DataType TflTypeToTfType(tflite::TensorType type);
    
    // Convert the Tensorflow scalar type to the corresponding TFLite type
    absl::StatusOr<tflite::TensorType> TfTypeToTflType(tensorflow::DataType type);
    
    // Returns element type from attribute Type 'type_attr'.
    mlir::Type GetShapeStrippedType(mlir::TypeAttr type_attr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_config.cc

    #include "llvm/Support/raw_ostream.h"
    #include "tensorflow/core/framework/types.pb.h"
    
    // Returns whether the given dtype is a quantization type in TensorFlow.
    static bool IsQuantizationType(tensorflow::DataType dtype) {
      switch (dtype) {
        case tensorflow::DT_QINT8:
        case tensorflow::DT_QUINT8:
        case tensorflow::DT_QINT16:
        case tensorflow::DT_QUINT16:
        case tensorflow::DT_QINT32:
          return true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/pjrt_tensor_buffer_util.h

    // device memory. It also owns the PjRtBuffer.
    //
    // TODO(b/289001822): Create a unit test to cover this function.
    absl::StatusOr<Tensor> MakeTensorFromPjRtBuffer(
        DataType dtype, const TensorShape& shape,
        std::unique_ptr<xla::PjRtBuffer> pjrt_buffer);
    
    // For TensorFlow internal use only.
    class PjRtTensorBufferUtil {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 14 18:14:47 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/StatementResolver.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.declarativedsl.analysis
    
    import org.gradle.declarative.dsl.schema.DataType
    import org.gradle.declarative.dsl.schema.FunctionSemantics
    import org.gradle.internal.declarativedsl.language.Assignment
    import org.gradle.internal.declarativedsl.language.Expr
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:02 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top