Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 25 of 25 for addType (0.14 sec)

  1. src/debug/macho/file.go

    		}
    		if _, ok := dat[suffix]; ok {
    			// Already handled.
    			continue
    		}
    
    		b, err := sectionData(s)
    		if err != nil {
    			return nil, err
    		}
    
    		if suffix == "types" {
    			err = d.AddTypes(fmt.Sprintf("types-%d", i), b)
    		} else {
    			err = d.AddSection(".debug_"+suffix, b)
    		}
    		if err != nil {
    			return nil, err
    		}
    	}
    
    	return d, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

          for (mlir::TensorType subtype : subtypes) {
            DataType dtype;
            TF_RETURN_IF_ERROR(ConvertToDataType(subtype.getElementType(), &dtype));
            handle_dtypes_attr.mutable_list()->add_type(dtype);
    
            SetTensorShapeProto(subtype,
                                handle_shapes_attr.mutable_list()->add_shape());
          }
    
          (*node_def->mutable_attr())["_handle_dtypes"] = handle_dtypes_attr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

          for (mlir::TensorType subtype : subtypes) {
            DataType dtype;
            TF_RETURN_IF_ERROR(ConvertToDataType(subtype.getElementType(), &dtype));
            handle_dtypes_attr.mutable_list()->add_type(dtype);
    
            SetTensorShapeProto(subtype,
                                handle_shapes_attr.mutable_list()->add_shape());
          }
    
          (*node_def->mutable_attr())["_handle_dtypes"] = handle_dtypes_attr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

    TFRDialect::TFRDialect(MLIRContext *context)
        : Dialect(/*name=*/"tfr", context, TypeID::get<TFRDialect>()) {
      // TFR depends on TensorFlow for its canonicalization
      context->getOrLoadDialect<TF::TensorFlowDialect>();
    
      addTypes<TFRTensorType, TFRTensorListType, TFRAttrType>();
      addOperations<
    #define GET_OP_LIST
    #include "tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc.inc"
          >();
    
      addInterfaces<TFRInlinerInterface>();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  5. src/debug/elf/file.go

    			// Already handled.
    			continue
    		}
    
    		b, err := sectionData(i, s)
    		if err != nil {
    			return nil, err
    		}
    
    		if suffix == "types" {
    			if err := d.AddTypes(fmt.Sprintf("types-%d", i), b); err != nil {
    				return nil, err
    			}
    		} else {
    			if err := d.AddSection(".debug_"+suffix, b); err != nil {
    				return nil, err
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top