Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mpscnnlossdatadescriptor(3) [mojave man page]

MPSCNNLossDataDescriptor(3)				 MetalPerformanceShaders.framework			       MPSCNNLossDataDescriptor(3)

NAME
MPSCNNLossDataDescriptor SYNOPSIS
#import <MPSCNNLoss.h> Inherits NSObject, and <NSCopying>. Instance Methods (nonnull instancetype) - init Class Methods (nullable MPSCNNLossDataDescriptor *) + cnnLossDataDescriptorWithData:layout:size: Properties MPSDataLayout layout MTLSize size NSUInteger bytesPerRow NSUInteger bytesPerImage Detailed Description This depends on Metal.framework. The MPSCNNLossDataDescriptor specifies a loss data descriptor. The same descriptor can be used to initialize both the labels and the optional weights data. Method Documentation + (nullable MPSCNNLossDataDescriptor*) cnnLossDataDescriptorWithData: (NSData *__nonnull) data(MPSDataLayout) layout(MTLSize) size Make a descriptor loss data. The bytesPerRow and bytesPerImage are automatically calculated assuming a dense array. If it is not a dense array, adjust bytesPerRow and bytesPerImage to the right value by changing properties. Parameters: data The per-element loss data. The data must be in floating point format. layout The data layout of loss data. size The size of loss data. Returns: A valid MPSCNNLossDataDescriptor object or nil, if failure. - (nonnull instancetype) init Property Documentation - bytesPerImage [read], [write], [nonatomic], [assign] Slice bytes of loss data. This parameter specifies the slice bytes of loss data. - bytesPerRow [read], [write], [nonatomic], [assign] Row bytes of loss data. This parameter specifies the row bytes of loss data. - layout [read], [nonatomic], [assign] Data layout of loss data. See MPSImage.h for more information. This parameter specifies the layout of loss data. - size [read], [nonatomic], [assign] Size of loss data: (width, height, feature channels}. This parameter specifies the size of loss data. Author Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSCNNLossDataDescriptor(3)

Check Out this Related Man Page

MPSCNNLocalContrastNormalizationNode(3) 		 MetalPerformanceShaders.framework		   MPSCNNLocalContrastNormalizationNode(3)

NAME
MPSCNNLocalContrastNormalizationNode SYNOPSIS
#import <MPSNNGraphNodes.h> Inherits MPSCNNNormalizationNode. Instance Methods (nonnull instancetype) - initWithSource:kernelSize: (nonnull instancetype) - initWithSource: Class Methods (nonnull instancetype) + nodeWithSource:kernelSize: Properties float pm float ps float p0 NSUInteger kernelWidth NSUInteger kernelHeight Method Documentation - (nonnull instancetype) initWithSource: (MPSNNImageNode *__nonnull) sourceNode Implements MPSCNNNormalizationNode. - (nonnull instancetype) initWithSource: (MPSNNImageNode *__nonnull) sourceNode(NSUInteger) kernelSize + (nonnull instancetype) nodeWithSource: (MPSNNImageNode *__nonnull) sourceNode(NSUInteger) kernelSize Property Documentation - (NSUInteger) kernelHeight [read], [write], [nonatomic], [assign] - (NSUInteger) kernelWidth [read], [write], [nonatomic], [assign] - (float) p0 [read], [write], [nonatomic], [assign] - (float) pm [read], [write], [nonatomic], [assign] - (float) ps [read], [write], [nonatomic], [assign] Author Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSCNNLocalContrastNormalizationNode(3)
Man Page

11 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Response time under packet loss

I am experiencing a problem where under a dial condition I am experiencing packet loss, which is failrly normal, but the response to the packet loss is taking bewteen 6 and 10 seconds. Could someone please advise what the industry standard is on the response time under a packet loss senario. (1 Reply)
Discussion started by: shane
1 Replies

2. UNIX for Dummies Questions & Answers

how to assign a path to a variable

Hi, good morning... I would like to know, how to assign a path to a variable and how to retrieve the same for eg to assign a= "/data/logs/xxx/yyyy" to retrieve $a is this correct??? pls rectify (2 Replies)
Discussion started by: vasikaran
2 Replies

3. Shell Programming and Scripting

Can I assign the contents of file into an array?

I am trying to assign the contents of file e.g ls "$HOME" into an array. If it is possible then please guide me without using the concept of awk,sed, and perl16 Thanks (10 Replies)
Discussion started by: murtaza
10 Replies

4. UNIX for Dummies Questions & Answers

to assign cut values to an array

i need to seperate values seperated by delimiters and assign it to an array.. can u plz help me on that. Variables = "asd,rgbh,(,rty,got,),sroe,9034," i need to assign the variables into arrays.. like.. var=asd var=rgbh.. and so on how do i do this. i need to reuse the values stored in... (6 Replies)
Discussion started by: Syms
6 Replies

5. UNIX for Dummies Questions & Answers

Formatting the o/p of ls command to a file

HI, I require only the file name and the user information from the ls output into a file. The layout of the file is already defined as: User id is in the first 7 bytes FName is in the next 50 bytes Assuming that user id is less than or = 7 bytes and File name is less than or = 50 bytes... (5 Replies)
Discussion started by: Meghna
5 Replies

6. Programming

Editing binary files

I am working in C and need a solution for below problem: I have a binary file, which needs to be edited in such a way no data is loss. For example i have to insert 3 bytes of data at some position without changing the contents of the file. if file has data as:... (2 Replies)
Discussion started by: junaid.nehvi
2 Replies

7. Shell Programming and Scripting

How to read a file and assign variables to data?

Hi, I need a simple csh script to read a file containing data like this Buy Transactions : 175 Sell Transactions : 212 Server: sepo2 i want to read both field and its value and assign variables to each.. (2 Replies)
Discussion started by: pravsripad
2 Replies

8. Shell Programming and Scripting

how to assign file names to array variable?

I wish to assign file names with particular extention to array variables. For example if there are 5 files with .dat extention in /home/sam then i have to assign these 5 files to an array. plz help me how to accomplish this. Thanks in advance. (4 Replies)
Discussion started by: siteregsam
4 Replies

9. Shell Programming and Scripting

Not able to assign 0 (zero) to the existing variable

Hi, I have a variable which read the value from the lines, and if it is empty string (5 bytes), then I have to assign this variable to zero "0", it able to detect the data is empty by showing me the message "empty", but not able to assign it as zero. WTHP=`echo "$file" | cut -c158-162` if ]... (5 Replies)
Discussion started by: newbie2011
5 Replies

10. AIX

Packet loss coming with big packet size ping

(5 Replies)
Discussion started by: Vishal_dba
5 Replies

11. UNIX for Dummies Questions & Answers

Does Shell Scripting in a Resume carry value?

Hi All, I have learnt a lot by getting help from these forums. By the knowledge acquired, i have done the following automations which have helped prevent financial loss to my client. Detecting when the listener goes down - Earlier, a downstream team used to inform us whenever they were not... (2 Replies)
Discussion started by: srkmish
2 Replies