09-15-2006
i got the solution ....it was my mistake....
the statement should be like this....
echo -e "record nullable { final_delim=end ,delim="~%%~" ,quote=none }\n(" > $i_DC_Key"_"$i_Tgt_DC_key"_Schema"
thanks
mahabunta
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I'm trying to code a simple script (c-shell) on a Solaris box and I'm getting an "Ambiguous" error. These are the lines that cause the error:
On c-shell:
> set var = ""
> @ var = `ls -l`
`ls -l`: Ambiguous
However if I change the second line to:
> set var = `ls -l`
This works... (2 Replies)
Discussion started by: Guillermo Lopez
2 Replies
2. Shell Programming and Scripting
Hi everyone, While I was trying to do
DATE=`date +"%Y%m%d_%H%M%S"`
STARTLOG=$TUXSTDDIR/start_$DATE.log
tmboot -y > $STARTLOG 2>&1
I got an error i.e. Ambiguous output redirect error. Here the first part is to boot the account so there is nothing wrong with that.... (6 Replies)
Discussion started by: pareshan
6 Replies
3. Shell Programming and Scripting
Hi Everyone,
# ll
total 0
-rw-r--r-- 1 root root 0 2010-05-13 11:29 a1.log
-rw-r--r-- 1 root root 0 2010-05-13 11:29 a2.log
-rw-r--r-- 1 root root 0 2010-05-13 11:29 a3.log
# rm a.log
above rm no problem, but when i use "> a.log", it says "-bash: a.log: ambiguous redirect".
... (3 Replies)
Discussion started by: jimmy_y
3 Replies
4. UNIX for Dummies Questions & Answers
I am trying to run the following script and I am getting an "ambiguous redirect" error. I have checked to make sure that the files are all where I have specified and are read/write as needed. Any ideas?
Note: I have removed the actual path info for privacy sake. I have triple checked to make... (1 Reply)
Discussion started by: malantha
1 Replies
5. Shell Programming and Scripting
Hello there,
I'm totally new in bash programming and ran into my first problem.
My script should generate 3 textfiles where the content of the first and the third row are the same in each file. Only the second row is different.
This is what I did in a very simplified explanation:
... (6 Replies)
Discussion started by: johndoe
6 Replies
6. Shell Programming and Scripting
This script has ambiguous redirect error.
...
cd $HOME
cd folder/work
# search all subfolders in work directory
find -mindepth 1 -maxdepth 1 -type d | while read directory
do
CUR_FOLDER="${directory#"./"}"
cd $CUR_FOLDER
chmod 644 *
for ff in *; do
if ; then
... (5 Replies)
Discussion started by: candyme
5 Replies
7. Shell Programming and Scripting
I came across the command string on https://www.unix.com/shell-programming-scripting/141885-awk-removing-data-before-after-pattern.html which was what I was looking for to be able to remove data before a certain pattern. However, outputting the result to a file seems to work on an individual basis... (4 Replies)
Discussion started by: HLee1981
4 Replies
8. Linux
Hi,
I need help on following linux bash script. When I linux commands for loop or while loop on individual file it runs great. but now I want the script to run on N number of files so it gives me ambiguous redirect error on line 12 and syntax error on line 22 : (pls help );
#!/bin/bash
#... (16 Replies)
Discussion started by: Madhusudan Das
16 Replies
9. Shell Programming and Scripting
Hi all,
I've been working on a bash script to help with backups that I have to do at work.
One of the lines in the script is supposed to launch an xterm, log into a specific server node and launch a tar backup to tape. This part works ok, but I've been trying to get stdout and stderr to... (2 Replies)
Discussion started by: Exitalterego
2 Replies
10. Shell Programming and Scripting
New to the site, please let me know I'm not meeting the post guidelines.
I'm creating a bash script to generate a report with output from a grep command. The goal is to direct
the output to a different log file by using a 'logger file'. But I get this error during the run: $1: ambiguous... (5 Replies)
Discussion started by: dallas88
5 Replies
LEARN ABOUT MOJAVE
mpscnnbatchnormalizationstate
MPSCNNBatchNormalizationState(3) MetalPerformanceShaders.framework MPSCNNBatchNormalizationState(3)
NAME
MPSCNNBatchNormalizationState
SYNOPSIS
#import <MPSCNNBatchNormalization.h>
Inherits MPSState.
Instance Methods
(nonnull instancetype) - initWithResource:
(void) - reset
(nullable id< MTLBuffer >) - mean
(nullable id< MTLBuffer >) - variance
(nullable id< MTLBuffer >) - gradientForGamma
(nullable id< MTLBuffer >) - gradientForBeta
Class Methods
(nonnull instancetype) + temporaryStateWithCommandBuffer:bufferSize:
(__nonnull instancetype) + temporaryStateWithCommandBuffer:textureDescriptor:
Properties
MPSCNNBatchNormalization * batchNormalization
MPSCNNNormalizationGammaAndBetaState * gammaAndBetaState
Detailed Description
MPSCNNBatchNormalizationState encapsulates the data necessary to execute batch normalization.
MPSCNNBatchNormalizationState cannot initialize the size of its own underlying resources. Use [MPSCNNBatchNormalizationStatistics
resultStateForSourceImages:] or [MPSCNNBatchNormalizationStatistics temporaryResultStateForCommandBuffer:sourceImages:].
Method Documentation
- (nullable id<MTLBuffer>) gradientForBeta
Return an MTLBuffer object containing the values of the gradient of the loss function with respect to the bias terms. If a
MPSCNNBatchNormalizationGradient kernel has not successfully generated these values nil will be returned.
- (nullable id<MTLBuffer>) gradientForGamma
Return an MTLBuffer object containing the values of the gradient of the loss function with respect to the scale factors. If a
MPSCNNBatchNormalizationGradient kernel has not successfully generated these values nil will be returned.
- (nonnull instancetype) initWithResource: (__nullable id< MTLResource >) resource
Unavailable. Use MPSCNNBatchNormalizationStatistics methods to initialize the state object.
Reimplemented from MPSState.
- (nullable id<MTLBuffer>) mean
Return an MTLBuffer object with the most recently computed batch mean values.
- (void) reset
Reset any accumulated state data to its initial values.
+ (nonnull instancetype) temporaryStateWithCommandBuffer: (__nonnull id< MTLCommandBuffer >) cmdBuf(size_t) bufferSize
Unavailable. Use MPSCNNBatchNormalizationStatistics methods to create the temporary state object.
Reimplemented from MPSState.
+ (__nonnull instancetype) temporaryStateWithCommandBuffer: (__nonnull id< MTLCommandBuffer >) cmdBuf(MTLTextureDescriptor *__nonnull)
descriptor
Create a MPSState holding a temporary MTLTexture
Parameters:
cmdBuf The command buffer against which the temporary resource is allocated
descriptor A descriptor for the new temporary texture
Reimplemented from MPSState.
- (nullable id<MTLBuffer>) variance
Return an MTLBuffer object with the most recently computed batch variance values.
Property Documentation
- (MPSCNNBatchNormalization*) batchNormalization [read], [nonatomic], [retain]
- (MPSCNNNormalizationGammaAndBetaState*) gammaAndBetaState [read], [nonatomic], [retain]
Author
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.
Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSCNNBatchNormalizationState(3)