Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 9,742 for Save (0.04 sec)

  1. tensorflow/cc/experimental/libexport/save.cc

    limitations under the License.
    ==============================================================================*/
    #include "tensorflow/cc/experimental/libexport/save.h"
    
    #include "tensorflow/core/platform/env.h"
    
    namespace tensorflow {
    namespace libexport {
    
    Status Save(const std::string& export_dir) {
      TF_RETURN_IF_ERROR(Env::Default()->RecursivelyCreateDir(export_dir));
      return absl::OkStatus();
    }
    
    }  // namespace libexport
    Registered: 2024-06-16 05:45
    - Last Modified: 2024-02-29 11:37
    - 1014 bytes
    - Viewed (0)
  2. tensorflow/cc/experimental/libexport/save.h

    #include <string>
    
    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    namespace libexport {
    
    // Writes a saved model to disk.
    //
    // Writes a saved model to the given `export_dir`.
    TF_EXPORT Status Save(const std::string& export_dir);
    
    }  // namespace libexport
    }  // namespace tensorflow
    
    Registered: 2024-06-16 05:45
    - Last Modified: 2021-04-19 19:11
    - 1.1K bytes
    - Viewed (0)
  3. pkg/util/iptables/save_restore.go

    	chainsSet := sets.New[Chain]()
    
    	for {
    		i := bytes.Index(save, []byte("\n:"))
    		if i == -1 {
    			break
    		}
    		start := i + 2
    		save = save[start:]
    		end := bytes.Index(save, []byte(" "))
    		if end == -1 {
    			// shouldn't happen, but...
    			break
    		}
    		chain := Chain(save[:end])
    		chainsSet.Insert(chain)
    		save = save[end:]
    	}
    	return chainsSet
    Registered: 2024-06-15 01:39
    - Last Modified: 2023-12-19 01:20
    - 1.4K bytes
    - Viewed (0)
  4. tools/istio-docker.mk

    docker: ## Build all docker images
    	./tools/docker
    
    docker.save: ## Build docker images and save to tar.gz
    	./tools/docker --save
    
    docker.push: ## Build all docker images and push to
    	./tools/docker --push
    
    # Legacy command aliases
    docker.all: docker
    	@:
    dockerx.save: docker.save
    	@:
    dockerx.push: docker.push
    	@:
    dockerx.pushx: docker.push
    	@:
    dockerx: docker
    	@:
    
    Registered: 2024-06-14 15:00
    - Last Modified: 2022-03-31 21:56
    - 2.1K bytes
    - Viewed (0)
  5. src/runtime/mkpreempt.go

    	l.stack += size
    }
    
    func (l *layout) addSpecial(save, restore string, size int) {
    	l.regs = append(l.regs, regPos{save: save, restore: restore, pos: l.stack})
    	l.stack += size
    }
    
    func (l *layout) save() {
    	for _, reg := range l.regs {
    		if reg.save != "" {
    			p(reg.save, reg.pos)
    		} else {
    			p("%s %s, %d(%s)", reg.saveOp, reg.reg, reg.pos, l.sp)
    		}
    	}
    }
    Registered: 2024-06-12 16:32
    - Last Modified: 2023-11-20 17:19
    - 15.3K bytes
    - Viewed (0)
  6. tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/saved_model.pbtxt

            value {
              b: true
            }
          }
        }
        node {
          name: "save/restore_shard"
          op: "NoOp"
          input: "^save/Assign"
          input: "^save/Assign_1"
          input: "^save/Assign_2"
        }
        node {
          name: "save/restore_all"
          op: "NoOp"
          input: "^save/restore_shard"
        }
        versions {
          producer: 23
        }
      }
      saver_def {
    Registered: 2024-06-16 05:45
    - Last Modified: 2017-05-26 01:10
    - 46.9K bytes
    - Viewed (0)
  7. tests/update_has_many_test.go

    	}
    
    	user.Pets = []*Pet{{Name: "pet1"}, {Name: "pet2"}}
    	if err := DB.Save(&user).Error; err != nil {
    		t.Fatalf("errors happened when update: %v", err)
    	}
    
    	var user2 User
    	DB.Preload("Pets").Find(&user2, "id = ?", user.ID)
    	CheckUser(t, user2, user)
    
    	for _, pet := range user.Pets {
    		pet.Name += "new"
    	}
    
    	if err := DB.Save(&user).Error; err != nil {
    		t.Fatalf("errors happened when update: %v", err)
    	}
    
    Registered: 2024-06-12 16:27
    - Last Modified: 2022-01-06 07:02
    - 2K bytes
    - Viewed (0)
  8. src/runtime/cgo/abi_amd64.h

    // the host ABI to Go ABI0 code. It saves all registers that are
    // callee-save in the host ABI and caller-save in Go ABI0 and prepares
    // for entry to Go.
    //
    // Save DI SI BP BX R12 R13 R14 R15 X6-X15 registers and the DF flag.
    // Clear the DF flag for the Go ABI.
    // MXCSR matches the Go ABI, so we don't have to set that,
    // and Go doesn't modify it, so we don't have to save it.
    #define PUSH_REGS_HOST_TO_ABI0()	\
    	PUSHFQ			\
    	CLD			\
    Registered: 2024-06-12 16:32
    - Last Modified: 2021-04-15 12:38
    - 2.7K bytes
    - Viewed (0)
  9. src/runtime/asm_s390x.s

    // Must obey the gcc calling convention.
    TEXT setg_gcc<>(SB),NOSPLIT|NOFRAME,$0-0
    	// The standard prologue clobbers LR (R14), which is callee-save in
    	// the C ABI, so we have to use NOFRAME and save LR ourselves.
    	MOVD	LR, R1
    	// Also save g, R10, and R11 since they're callee-save in C ABI
    	MOVD	R10, R3
    	MOVD	g, R4
    	MOVD	R11, R5
    
    	MOVD	R2, g
    	BL	runtime·save_g(SB)
    
    	MOVD	R5, R11
    	MOVD	R4, g
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-01-25 09:18
    - 28.1K bytes
    - Viewed (0)
  10. src/runtime/cgo/gcc_s390x.S

     *
     * Calling into the go tool chain, where all registers are caller save.
     * Called from standard s390x C ABI, where r6-r13, r15, and f8-f15 are
     * callee-save, so they must be saved explicitly.
     */
    .globl crosscall_s390x
    crosscall_s390x:
    	/* save r6-r15 in the register save area of the calling function */
    	stmg    %r6, %r15, 48(%r15)
    
    	/* allocate 64 bytes of stack space to save f8-f15 */
    	lay     %r15, -64(%r15)
    
    Registered: 2024-06-12 16:32
    - Last Modified: 2022-12-05 16:41
    - 1.4K bytes
    - Viewed (0)
Back to top