Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for makeAddrs (0.18 sec)

  1. src/net/dial_test.go

    		network: "tcp",
    		address: "?",
    	}
    
    	makeAddr := func(ip string) addrList {
    		addr, err := ResolveTCPAddr("tcp", JoinHostPort(ip, dss.port))
    		if err != nil {
    			t.Fatal(err)
    		}
    		return addrList{addr}
    	}
    
    	// dialParallel returns one connection (and closes the other.)
    	c, err := sd.dialParallel(context.Background(), makeAddr("127.0.0.1"), makeAddr("::1"))
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/define_op_template.py

      else:
        assert FLAGS.output.endswith('.mlir')
        generated_code = tfr_gen_from_module(sys.modules[__name__], '_composite_')
    
      dirname = os.path.dirname(FLAGS.output)
      if not os.path.exists(dirname):
        os.makedirs(dirname)
      with open(FLAGS.output, 'w') as f:
        f.write(generated_code)
    
    
    if __name__ == '__main__':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/examples/customization/ops_defs.py

      else:
        assert FLAGS.output.endswith('.mlir')
        generated_code = tfr_gen_from_module(sys.modules[__name__], '_override_')
    
      dirname = os.path.dirname(FLAGS.output)
      if not os.path.exists(dirname):
        os.makedirs(dirname)
      with open(FLAGS.output, 'w') as f:
        f.write(generated_code)
    
    
    if __name__ == '__main__':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  4. tensorflow/cc/saved_model/testdata/generate_saved_models.py

      _, export_path, module_name = args
      module_ctor, version = MODULE_CTORS.get(module_name)
      if not module_ctor:
        print("Expected ModuleName to be one of:", MODULE_CTORS.keys())
        return 2
      os.makedirs(export_path)
    
      tf_module = module_ctor()
      if version == 2:
        options = save_options.SaveOptions(save_debug_info=True)
        saved_model.save(tf_module, export_path, options=options)
      else:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 18:06:18 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/examples/pad/ops_defs.py

      else:
        assert FLAGS.output.endswith('.mlir')
        generated_code = tfr_gen_from_module(sys.modules[__name__], '_composite_')
    
      dirname = os.path.dirname(FLAGS.output)
      if not os.path.exists(dirname):
        os.makedirs(dirname)
      with open(FLAGS.output, 'w') as f:
        f.write(generated_code)
    
    
    if __name__ == '__main__':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 01 05:00:29 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

        )
        p.text += (
            "\n      Flakes make this pkg/pip_and_nonpip_tests target show "
            "as failing,"
        )
        p.text += "\n      but do not make the Kokoro invocation fail."
    
    os.makedirs(os.path.dirname(sys.argv[2]), exist_ok=True)
    result.update_statistics()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 19:00:37 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/examples/mnist/ops_defs.py

      else:
        assert FLAGS.output.endswith('.mlir')
        generated_code = tfr_gen_from_module(sys.modules[__name__], '_composite_',)
    
      dirname = os.path.dirname(FLAGS.output)
      if not os.path.exists(dirname):
        os.makedirs(dirname)
      with open(FLAGS.output, 'w') as f:
        f.write(generated_code)
    
    
    if __name__ == '__main__':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 20:23:51 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. ci/official/utilities/extract_resultstore_links.py

    def create_xml_file(result_store_dict: ResultDictType,
                        output_path: str,
                        verbose: bool = False):
      """Creates a JUnit-based XML file, with each invocation as a testcase."""
      os.makedirs(os.path.dirname(output_path), exist_ok=True)
      failure_count = 0
      error_count = 0
    
      date_time = datetime.datetime
      attrib = {'name': 'Bazel Invocations', 'time': '0.0',
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 08 17:50:27 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  9. RELEASE.md

    answered questions, and were part of inspiring discussions.
    
    # Release 0.7.1
    
    ## Bug Fixes and Other Changes
    
    *   Added gfile.Open and gfile.Copy, used by input_data.py.
    *   Fixed Saver bug when MakeDirs tried to create empty directory.
    *   GPU Pip wheels are built with cuda 7.5 and cudnn-v4, making them required
        for the binary releases. Lower versions of cuda/cudnn can be supported by
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
Back to top